Save 37% off PRO during our Black Friday Sale! »

Bitriseのリファクタリング

C6e92f16c5ac9a9eea94d904039a7fc8?s=47 100059
September 03, 2019

 Bitriseのリファクタリング

Bitriseのリファクタリングについて

Bitrise User Group Meetup #2
2019/09/03

C6e92f16c5ac9a9eea94d904039a7fc8?s=128

100059

September 03, 2019
Tweet

Transcript

  1. BitriseͷϦϑΝΫλϦϯά Bitrise User Group Meetup #2 2019/09/03

  2. Akihisa Sengoku @akihisasen גࣜձࣾαΠόʔΤʔδΣϯτ AmebaʢΞϝʔόʣ iOSΤϯδχΞ

  3. ࠷ۙͷAmebaͷCIɾCD ʢiOS Teamʣ

  4. 2019 02݄ BitriseʹҠߦ ϦϦʔεαΠΫϧ ͷ୹ॖ ࣗಈԽΛ ਪਐ

  5. 2019 02݄ BitriseʹҠߦ ϦϦʔεαΠΫϧ ͷ୹ॖ ࣗಈԽΛ ਪਐ Workflow਺ 8 12

    16
  6. Workflowͷ਺ͷ૿Ճ΍ ؅ཧऀͷ૿ՃͰɺ Bitriseͷ࢖͍উख͕௿Լ

  7. Bitriseͷઃఆ΍Workflow Λ੔ཧ

  8. ຊ೔ͷ಺༰ ͙͢ʹͰ͖Δ #JUSJTFΛϦϑΝΫλϦϯά5JQT

  9. ઃఆฤ

  10. APP ICONΛઃఆ͠Α͏! 5JQT

  11. ଟ͘ͷ"11Λ؅ཧ͍ͯ͠Δͱ͖ʹ Ͳͷ"11ͷ#VJME͕Θ͔ΓͣΒ͍

  12. Project Type Λઃఆ͠Α͏! 5JQT

  13. OK!!

  14. Github ChecksΛ༗ޮԽ 5JQT

  15. Auto-cancel buildsͷ ઃఆΛద੾͢Δ 4ͭͷauto-cancelͷઃఆΛద੾ʹઃఆͯ͠ɺ ෆཁͳϏϧυΛ࡟ݮ 5JQT

  16. Workflowฤ

  17. StepͷλΠτϧΛ໌֬ʹ Faslane΍εΫϦϓτͳͲͷ࣮ߦStepʹ͸ ࣮ߦ಺༰ΛTitleʹهࡌ͢Δͱ਌੾ 5JQT

  18. StepͷVersionΛalways latest StepͷVersionΛ͋͛Δ؅ཧ͕खؒͳͷͰɺ always latestʹ͍ͯ͠·͢ɻ always latestʹ͓͍ͯͯ͠ɺ໰୊͕ൃੜͨ͠ ͱ͖ʹରԠ͢Δํ਑ʹ͍ͯ͠·͢ɻ 5JQT

  19. Utility WorkflowΛ࢖ͬͯɺ ࠶ར༻Մೳͳঢ়ଶΛ࡞Δ Utility Workflowͱ͸ʁ Workflow಺ͰͷΈ࢖༻͜ͱ͕Ͱ͖ɺ௚઀࣮ߦ͢Δ͜ ͱ͕Ͱ͖ͳ͍Workflowɻ Workflow໊ͷઌ಄ʹ`_` Λ͚ͭΔ͜ͱͰఆٛɻ 5JQT

  20. @TFU@VQ ˣ ؀ڥม਺ͷઃఆ ˣ @CVJME ˣ @EJTUSJCVUF ˣ @TFOE@NFTTBHF ྫ

    EJTUSJCVUJPO ͷ8PSLqPX
  21. TriggerͰͷBuildΛੵۃతʹ औΓೖΕΔ 5JQT

  22. • App Store΁ͷόΠφϦʔͷఏग़Λrelease/ *ϒϥϯνͷpushͰߦ͏ • 1ͭͷେ͖ͳWorkflowΛTag΍Pushͷ TriggerΛ࢖ͬͯ෼ׂ • ௕ظͷ։ൃͰɺఆظతʹςετ΍഑৴Λख ಈͰߦͳ͍ͬͯͨՕॴʹTriggerΛઃఆ

    → ݟ௚͢ͱ݁ߏ͋Γ·ͨ͠ɻ
  23. ഑෍ฤ

  24. μ΢ϯϩʔυURLΛద੾ͳ ৔ॴʹ഑ஔ μ΢ϯϩʔυURLͷ഑ஔ৔ॴ • BitriseͷBuildsͷAPPS & ARTIFACTS • GithubͷPRɺϦϦʔεϊʔτ •

    Slackͷνϟϯωϧ಺ 5JQT
  25. Ҏલ • BitriseͷBuildsͷAPPS & ARTIFACTS • → ։ൃऀ༻ " •

    GithubͷPRɺϦϦʔεϊʔτ • → ։ൃऀ༻ " • Slackͷ഑෍༻νϟϯωϧ಺ • → σΟϨΫλʔɺσβΠφʔɺςελʔ
  26. ໰୊ • Slackͷ഑෍༻νϟϯωϧ಺ • → σΟϨΫλʔɺσβΠφʔɺςελʔ σΟϨΫλʔ΍σβΠφʔ͕΄͍͠ όΠφϦʔΛݟ͚ͭΒΕͳ͍

  27. վળ • SlackͷURLͷ౤ߘ৔ॴΛࡉ෼Խ • Store൛ • Test Flight൛ • Aػೳ൛

    • Bػೳ൛ • etc σΟϨΫλʔ σβΠφʔ
  28. ·ͱΊ Bitriseͷઃఆ΍Workflow Λݟ௚ͯ͠։ൃνʔϜશһ͕ շదʹ࢖͑ΔBitrise؀ڥʹ͠Α͏