Upgrade to Pro — share decks privately, control downloads, hide ads and more …

deliverbot のススメ / deliverbot at Sansan

deliverbot のススメ / deliverbot at Sansan

deliverbot のススメ

【増枠】Mobile Engineer Meetup by Sansan https://sansan.connpass.com/event/121319/

Yasuo Nakagawa

March 05, 2019
Tweet

More Decks by Yasuo Nakagawa

Other Decks in Programming

Transcript

  1. ࣗݾ঺հ • GitHub: @ynakagawa33 • iOS ΞϓϦΤϯδχΞ • ࡞Δ͜ͱ͕޷͖ •

    Ԟͷ ErgoDash ͸ि຤ळ༿ʹ௨͍ ͭͭɺ࠷ۙ׬੒ͤ͞·ͨ͠
  2. deliverbot ͕୅ସͯ͘͠Εͨखॱ • Target ͝ͱͷόʔδϣϯ൪߸ߋ৽ • ϦϦʔεର৅ͷมߋ֬ೝ༻ͷ PR ࡞੒ •

    Bitrise ͰϦϦʔεϏϧυ༻ͷϫʔΫϑϩʔΛ࣮ߦ͢Δ • ϦϦʔεϏϧυͷ੒Ռ෺Λμ΢ϯϩʔυ͢Δ • Application Loader Ͱμ΢ϯϩʔυͨ͠ ipa Λ App Store ΁ Ξοϓϩʔυ͢Δ
  3. ϦϦʔεର৅ͷมߋ֬ ೝ༻ͷ PR ࡞੒ ࠓ·Ͱ • PR Λ࡞Βͣɺ Slack Ͱมߋ֬ೝґཔ

    ͍ͯͯ͠ɺϦϦʔεͷ࡞ۀ͕ Slack ʹ ͔͠࢒ͬͯͳ͔ͬͨ • ҰԠɺḪΕ͹ɺݟ͚ͭΔ͜ͱ͸ग़ དྷΔ͕ɺաڈͷܦҢΛݟ͚ͭΔͷ ͕େม
  4. ϦϦʔεର৅ͷมߋ֬ ೝ༻ͷ PR ࡞੒ ͜Ε͔Β • deliverbot ͕ద੾ͳϑΥʔϚοτͰ PR Λ࡞ͬͯ͘ΕΔ

    • BOT ͕ࣗಈͰ࡞Δ͔Βɺ୭͕΍ͬ ͯ΋͍͍ͷͰɺνʔϜͰ෼ۀ͕ग़ དྷΔ
  5. Bitrise ͰϦϦʔεϏ ϧυ༻ͷϫʔΫϑϩʔ Λ࣮ߦ͢Δ ࠓ·Ͱ • Bitrise ʹϩάΠϯ • ΞϓϦΛબ୒͢Δ

    • Start/Schedule a Build • ϦϦʔεϒϥϯνΛࢦఆ͢Δ • ϫʔΫϑϩʔΛબ୒͢Δ
  6. ੒Ռ෺Λμ΢ϯϩʔυ & ετΞ΁Ξοϓϩʔ υ ࠓ·Ͱ • Bitrise ͔Β Slack ΁௨஌͞ΕΔϏϧ

    υ੒ޭͷ௨஌͔ΒϏϧυϖʔδʹඈ Ϳ • APPS ˍ ARTIFACTS ͔Β ipa Λμ΢ ϯϩʔυ͢Δ • Application Loader Ͱμ΢ϯϩʔυ
  7. deliverbot Λಋೖ͢Δࡍʹࠔͬͨ͜ ͱ • ઃఆϑΝΠϧ͔ΒઃఆՄೳͳόʔδϣϯઃఆϑΝΠϧΛݻఆ ஋Ͱ্ॻ͖͍ͯͨ͠ • deliverbot ͰࢦఆͰ͖Δϒϥϯνʹ /

    ͕ೖͬͨϒϥϯν͕ग़ ͯ͜ͳ͍ • ݱߦͷ deliverbot ͩͱ PR ͷD Description ʹ Change Log Λૠೖ͢Δॲཧ͕ແޮԽ͞ΕͯΔ
  8. deliverbot ͰࢦఆͰ͖Δϒ ϥϯνʹ / ͕ೖͬͨϒϥϯν ͕ग़ͯ͜ͳ͍ ରԠ • ग़ͯ͘Εͳ͍ͱӡ༻ʹ৐Βͳ͔͍ͷ Ͱɺ

    fork • मਖ਼ͷίϛοτΛੵΜͩ • https://github.com/ ynakagawa33/deliverbot/commit/ 4700c06d49eb6d5598dc0c6e30 8bf42fd3e41047
  9. ݱߦͷ deliverbot ͩͱ PR ͷD Description ʹ Change Log Λૠೖ͢Δॲཧ͕ແޮԽ

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

    ͞ΕͯΔ ରԠ • ༗ޮʹ͢ΔίϛοτΛ fork ͨ͠Ϧϙ δτϦʹੵΜͩ • https://github.com/ ynakagawa33/deliverbot/commit/ c30d0092619c4aac189e57208cd dcd40aed72d30