Slide 1

Slide 1 text

deliverbot ͷεεϝ Sansan ࣄۀ෦ ϓϩμΫτ։ൃ෦ த઒ ହ෉

Slide 2

Slide 2 text

ࣗݾ঺հ • GitHub: @ynakagawa33 • iOS ΞϓϦΤϯδχΞ • ࡞Δ͜ͱ͕޷͖ • Ԟͷ ErgoDash ͸ि຤ळ༿ʹ௨͍ ͭͭɺ࠷ۙ׬੒ͤ͞·ͨ͠

Slide 3

Slide 3 text

11/07 ͷ CI/CD Test Night ʹߦͬͨਓʔʁ

Slide 4

Slide 4 text

ຊ LT ͸؛઒͞Μ͔Β঺հͷ͋ͬͨ deliverbot ʹ͍ͭͯ

Slide 5

Slide 5 text

Sansan Ͱͷ՝୊

Slide 6

Slide 6 text

௕ա͗ΔϦϦʔεखॱॻ

Slide 7

Slide 7 text

ϦϦʔεʹର͢Δҹ৅

Slide 8

Slide 8 text

ͳΜͱ͔ͤͶ͹

Slide 9

Slide 9 text

deliverbot Λಋೖ͠Α ͏

Slide 10

Slide 10 text

deliverbot ͕୅ସͯ͘͠Εͨखॱ • Target ͝ͱͷόʔδϣϯ൪߸ߋ৽ • ϦϦʔεର৅ͷมߋ֬ೝ༻ͷ PR ࡞੒ • Bitrise ͰϦϦʔεϏϧυ༻ͷϫʔΫϑϩʔΛ࣮ߦ͢Δ • ϦϦʔεϏϧυͷ੒Ռ෺Λμ΢ϯϩʔυ͢Δ • Application Loader Ͱμ΢ϯϩʔυͨ͠ ipa Λ App Store ΁ Ξοϓϩʔυ͢Δ

Slide 11

Slide 11 text

Target ͝ͱͷόʔ δϣϯ൪߸ߋ৽ ࠓ·Ͱ • ΞϓϦຊମͱ Call Directory Extension ͷ྆ํͷ Info.plist Λߋ৽ ͢ΔίϛοτΛੵΜͰͨ

Slide 12

Slide 12 text

Target ͝ͱͷόʔ δϣϯ൪߸ߋ৽ ͜Ε͔Β • deliverbot ʹࢦఆͨ͠όʔδϣϯʹ ߋ৽ͯ͘͠ΕΔ

Slide 13

Slide 13 text

ϦϦʔεର৅ͷมߋ֬ ೝ༻ͷ PR ࡞੒ ࠓ·Ͱ • PR Λ࡞Βͣɺ Slack Ͱมߋ֬ೝґཔ ͍ͯͯ͠ɺϦϦʔεͷ࡞ۀ͕ Slack ʹ ͔͠࢒ͬͯͳ͔ͬͨ • ҰԠɺḪΕ͹ɺݟ͚ͭΔ͜ͱ͸ग़ དྷΔ͕ɺաڈͷܦҢΛݟ͚ͭΔͷ ͕େม

Slide 14

Slide 14 text

ϦϦʔεର৅ͷมߋ֬ ೝ༻ͷ PR ࡞੒ ͜Ε͔Β • deliverbot ͕ద੾ͳϑΥʔϚοτͰ PR Λ࡞ͬͯ͘ΕΔ • BOT ͕ࣗಈͰ࡞Δ͔Βɺ୭͕΍ͬ ͯ΋͍͍ͷͰɺνʔϜͰ෼ۀ͕ग़ དྷΔ

Slide 15

Slide 15 text

Bitrise ͰϦϦʔεϏ ϧυ༻ͷϫʔΫϑϩʔ Λ࣮ߦ͢Δ ࠓ·Ͱ • Bitrise ʹϩάΠϯ • ΞϓϦΛબ୒͢Δ • Start/Schedule a Build • ϦϦʔεϒϥϯνΛࢦఆ͢Δ • ϫʔΫϑϩʔΛબ୒͢Δ

Slide 16

Slide 16 text

Bitrise ͰϦϦʔεϏ ϧυ༻ͷϫʔΫϑϩʔ Λ࣮ߦ͢Δ ͜Ε͔Β • deliverbot ͕ PR Λ࡞ͬͨΒɺࣗಈͰ ϦϦʔεϏϧυ༻ͷϫʔΫϑϩʔ͕ τϦΨʔ͞ΕΔ

Slide 17

Slide 17 text

੒Ռ෺Λμ΢ϯϩʔυ & ετΞ΁Ξοϓϩʔ υ ࠓ·Ͱ • Bitrise ͔Β Slack ΁௨஌͞ΕΔϏϧ υ੒ޭͷ௨஌͔ΒϏϧυϖʔδʹඈ Ϳ • APPS ˍ ARTIFACTS ͔Β ipa Λμ΢ ϯϩʔυ͢Δ • Application Loader Ͱμ΢ϯϩʔυ

Slide 18

Slide 18 text

੒Ռ෺Λμ΢ϯϩʔυ & ετΞ΁Ξοϓϩʔ υ ͜Ε͔Β • deliverbot ͕τϦΨʔͨ͠ϫʔΫϑ ϩʔͰετΞ΁ͷΞοϓϩʔυ·Ͱ ߦ͏

Slide 19

Slide 19 text

deliverbot Λಋೖ͢Δ ࡍʹࠔͬͨ͜ͱ

Slide 20

Slide 20 text

deliverbot Λಋೖ͢Δࡍʹࠔͬͨ͜ ͱ • ઃఆϑΝΠϧ͔ΒઃఆՄೳͳόʔδϣϯઃఆϑΝΠϧΛݻఆ ஋Ͱ্ॻ͖͍ͯͨ͠ • deliverbot ͰࢦఆͰ͖Δϒϥϯνʹ / ͕ೖͬͨϒϥϯν͕ग़ ͯ͜ͳ͍ • ݱߦͷ deliverbot ͩͱ PR ͷD Description ʹ Change Log Λૠೖ͢Δॲཧ͕ແޮԽ͞ΕͯΔ

Slide 21

Slide 21 text

ઃఆϑΝΠϧ͔ΒઃఆՄೳͳ όʔδϣϯઃఆϑΝΠϧΛݻ ఆ஋Ͱ্ॻ͖͍ͯͨ͠ ݪҼ https://github.com/kishikawakatsumi/ deliverbot/blob/master/main.go#L39- L40

Slide 22

Slide 22 text

ઃఆϑΝΠϧ͔ΒઃఆՄೳͳ όʔδϣϯઃఆϑΝΠϧΛݻ ఆ஋Ͱ্ॻ͖͍ͯͨ͠ ରԠ • ࢦఆ͞Ε͍ͯΔύεʹҧ࿨ײ͕ͳ ͔ͬͨͷͰɺͪ͜ΒଆͷઃఆϑΝΠ ϧΛࢦఆ͞Ε͍ͯΔ΋ͷʹدͤͨ

Slide 23

Slide 23 text

deliverbot ͰࢦఆͰ͖Δϒ ϥϯνʹ / ͕ೖͬͨϒϥϯν ͕ग़ͯ͜ͳ͍ ݪҼ https://github.com/kishikawakatsumi/ deliverbot/blob/master/github.go#L72

Slide 24

Slide 24 text

deliverbot ͰࢦఆͰ͖Δϒ ϥϯνʹ / ͕ೖͬͨϒϥϯν ͕ग़ͯ͜ͳ͍ ରԠ • ग़ͯ͘Εͳ͍ͱӡ༻ʹ৐Βͳ͔͍ͷ Ͱɺ fork • मਖ਼ͷίϛοτΛੵΜͩ • https://github.com/ ynakagawa33/deliverbot/commit/ 4700c06d49eb6d5598dc0c6e30 8bf42fd3e41047

Slide 25

Slide 25 text

ݱߦͷ deliverbot ͩͱ PR ͷD Description ʹ Change Log Λૠೖ͢Δॲཧ͕ແޮԽ ͞ΕͯΔ ݪҼ https://github.com/kishikawakatsumi/ deliverbot/blob/master/ interaction.go#L424-L449

Slide 26

Slide 26 text

ݱߦͷ deliverbot ͩͱ PR ͷD Description ʹ Change Log Λૠೖ͢Δॲཧ͕ແޮԽ ͞ΕͯΔ ରԠ • ༗ޮʹ͢ΔίϛοτΛ fork ͨ͠Ϧϙ δτϦʹੵΜͩ • https://github.com/ ynakagawa33/deliverbot/commit/ c30d0092619c4aac189e57208cd dcd40aed72d30

Slide 27

Slide 27 text

࠷ޙʹ • ࠓճͷ࡞ۀϩά͸ Qrunch ʹ࢒ͯ͋͠ΔͷͰɺࢀߟʹͲ͏ͧ ! • https://ynakagawa33.qrunch.io//logs/ yNpdde4yD2rD4Ogc