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

Bitriseの社内提供へ

81d7473937e0f9443ca3dbb7dcd7b7ff?s=47 Hisashi.Iguchi
November 07, 2018

 Bitriseの社内提供へ

81d7473937e0f9443ca3dbb7dcd7b7ff?s=128

Hisashi.Iguchi

November 07, 2018
Tweet

Transcript

  1. #JUSJTFͷࣾ಺ఏڙ΁ d(JU)VC&OUFSQSJTFͱͷ࿈ܞd !IJTBDIJ  8FE  $*$%5FTU/JHIU !%F/"

  2. ਓ෺ w ࢯ໊ w Ҫޱ߃ࢤ )JTBTIJ*HVDIJʣ!IJTBDIJ w ॴଐ w %F/"48&5(S

    4PGU8BSF&OHJOFFSJO5FTU  w ࣗಈςετͷ։ൃαϙʔτɺಋೖ w #JUSJTF$JSDMF$*&OUFSQSJTFͷӡ༻อक  
  3. ຊ೔͸ʜ w#JUSJTFΛࣾ಺ఏڙΛ࢝ΊͨܦҢ w#JUSJTF(JU)VC&OUFSQSJTFͷ࿈ܞ  

  4. #JUSJTFͷࣾ಺ఏڙ΁ͷܦҢ  

  5. #JUSJTFಋೖલ w $JSDMF$*&OUFSQSJTF൛Λࣾ಺ఏڙ։࢝ w (JU)VC&OUFSQSJTFΛར༻ͷͨΊ&OUFSQSJTF൛ w -JOVYJ04Λܖ໿ w ࢀߟɿIUUQTDJSDMFDJKQQSJDJOHCVJMEFOUFSQSJTF 

    
  6. w ࠒ$JSDMF$*ͷར༻Ϣʔβ૿ՃʹΑΓݟ͑ͨ՝୊ w 9DPEFͷ࠷৽όʔδϣϯఏڙͷεϐʔυ w &OUFSQSJTF൛ͷͨΊDPN൛ΑΓ஗Εͯͷఏڙ w J047.Πϝʔδ੾Γସ͑ϝϯςͰJ04ͷϏϧυఀࢭظ͕ؒඞཁ w ӡ༻ͷෛ୲૿ͱϢʔβ͕$*αʔϏεΛ༑޷తʹ׆༻Ͱ͖ͳ͍

    #JUSJTFಋೖલͷ՝୊   w ͜ΕΒ՝୊ΛղܾՄೳͳ$*αʔϏε͕ͳ͍͔ௐࠪΛ։࢝
  7. #JUSJTFಋೖલͷ՝୊ w ࠒ$JSDMF$*ͷར༻Ϣʔβ૿ՃʹΑΓݟ͑ͨ՝୊ w 9DPEFͷ࠷৽όʔδϣϯఏڙͷεϐʔυ w &OUFSQSJTF൛ͷͨΊΠϯϑϥΛࣾ಺ͷӡ༻ऀ͕؅ཧ w J047.Πϝʔδ੾Γସ͑ϝϯςͰJ04ͷϏϧυఀࢭظ͕ؒඞཁ w

    ӡ༻ͷෛ୲૿ͱϢʔβ͕$*αʔϏεΛ༑޷తʹ׆༻Ͱ͖ͳ͍   w ͜ΕΒ՝୊ΛղܾՄೳͳ$*αʔϏε͕ͳ͍͔ௐࠪΛ։࢝
  8. w &OUFSQSJTF൛Ͱͳ͍$*αʔϏεͷར༻͕Ͱ͖ͳ͍͔ࣾ಺ௐࠪ։࢝ w ࠒ$JSDMF$*ͷར༻Ϣʔβ૿ՃʹΑΓݟ͑ͨ՝୊ w 9DPEFͷ࠷৽όʔδϣϯఏڙͷεϐʔυ w &OUFSQSJTF൛ͷͨΊΠϯϑϥΛࣾ಺ͷӡ༻ऀ͕؅ཧ w Πϝʔδͷ੾Γସ͑࡞ۀͳͲͰJ04ͷϏϧυͷఀࢭ͕ඞཁ

    w ӡ༻ͷෛ୲૿ͱϢʔβ͕$*αʔϏεΛ༗ޮ׆༻Ͱ͖͍ͯͳ͍ #JUSJTFಋೖલͷ՝୊   w ࣾ಺ͷ$JSDMF$*ར༻Ϣʔβ͔Βͷզʑӡ༻ऀʹର͢Δ੠ ɾ࠷৽όʔδϣϯͷ9DPEF͸΍͘ରԠ͍͚ͯͨͩ͠Ε͹خ͍͠Ͱ͢ɻɻ ɾ৽͍͠9DPEFͰ͖Δ͔͗Γ΍͸͘αϙʔτͯ͠΄͍͠ ɾ$JSDMF$*&OUFSQSJTF͸Ͱ͖Δ͚ͩૣ͘࠷৽ͷYDPEFόʔδϣϯʹ௥ਵͯ͠΄͍͠Ͱ͢ɻ ɾҎલ·Ͱ࢖͍ͬͯ·͕ͨ͠9DPEFʹରԠ͍ͯ͠ͳ͔ͬͨͨΊɺ࢖͏ͷΛ΍Ί·ͨ͠ɻ
  9. #JUSJTFಋೖલͷ՝୊ w ࠒ$JSDMF$*ͷར༻Ϣʔβ૿ՃʹΑΓݟ͑ͨ՝୊ w 9DPEFͷ࠷৽όʔδϣϯఏڙͷεϐʔυ w &OUFSQSJTF൛ͷͨΊΠϯϑϥΛࣾ಺ͷӡ༻ऀ͕؅ཧ w J047.Πϝʔδ੾Γସ͑ϝϯςͰJ04ͷϏϧυఀࢭظ͕ؒඞཁ w

    ӡ༻ͷෛ୲૿ͱϢʔβ͕$*αʔϏεΛ༗ޮ׆༻Ͱ͖͍ͯͳ͍   w ͜ΕΒ՝୊ΛղܾՄೳͳ$*αʔϏε͕ͳ͍͔ௐࠪΛ։࢝
  10. #JUSJTFಋೖલͷ՝୊ w ࠒ$JSDMF$*ͷར༻Ϣʔβ૿ՃʹΑΓݟ͑ͨ՝୊ w 9DPEFͷ࠷৽όʔδϣϯఏڙͷεϐʔυ w &OUFSQSJTF൛ͷͨΊΠϯϑϥΛࣾ಺ͷӡ༻ऀ͕؅ཧ w J047.Πϝʔδ੾Γସ͑ϝϯςͰJ04ͷϏϧυఀࢭظ͕ؒඞཁ w

    ӡ༻ͷෛ୲૿ͱϢʔβ͕$*αʔϏεΛ༗ޮ׆༻Ͱ͖͍ͯͳ͍   w &OUFSQSJTF൛Ͱͳ͍$*αʔϏεͷར༻͕Ͱ͖ͳ͍͔ௐࠪ։࢝
  11. #JUSJTFಋೖ w ௐࠪͷ຤IUUQTXXXCJUSJTFJPఏڙ։࢝ w ౰࣌ϞόΠϧܥ޲͚Ͱ஫໨͞Ε͍ͯͨ$*αʔϏε w &OUFSQSJTF൛Ͱͳ͍ͨΊΠϯϑϥ؅ཧͳ͠ w ӡ༻ίετͷ௿Լ w

    (JU)VC&OUFSQSJTFͱͷ࿈ܞ͸71/Λ׆༻ w #JUSJTFͱ$JSDMF$*&OUFSQSJTFͷ྆ํΛࣾ಺ఏڙ w Ϣʔβͷબ୒ࢶ૿Ճ   ग़యɿ#JUSJTF*OD#JUSJTFQSFTTLJUz63-IUUQTXXXCJUSJTFJPQSFTTLJU
  12. (JU)VC&OUFSQSJTF ͱͷ࿈ܞ  

  13. (JU)VC&OUFSQSJTFͱͷ࿈ܞ w 71/ΛுΔ͜ͱͰ࿈ܞ   ग़యɿ#JUSJTFΞΠίϯ#JUSJTF*OD#JUSJTFQSFTTLJUz63-IUUQTXXXCJUSJTFJPQSFTTLJU

  14. wϢʔβ#JUSJTFͷΞΧ΢ϯτొ࿥ wϢʔβ#JUSJTFར༻ਃ੥ wӡ༻ऀར༻ਃ੥ͨ͠Ϣʔβ΁71/ূ໌ॻͷൃߦ wϢʔβ71/ূ໌ॻΛར༻ͯ͠ॳظઃఆͱϓϩδΣΫτͷ௥Ճ w$-*πʔϧΛఏڙ wϢʔβ#JUSJTF΁ΞΫηεͯ͠XPSLqPXઃܭ wPQFOWQO "DUJWBUF44)LFZͳͲ͸طʹઃఆ wϢʔβϏϧυ Ϗϧυ࣮ߦ·Ͱ

     
  15. wϢʔβ#JUSJTFͷΞΧ΢ϯτొ࿥ wϢʔβ#JUSJTFར༻ਃ੥ wӡ༻ऀར༻ਃ੥ͨ͠Ϣʔβ΁71/ূ໌ॻͷൃߦ wϢʔβ71/ূ໌ॻΛར༻ͯ͠ॳظઃఆͱϓϩδΣΫτͷ௥Ճ w$-*πʔϧΛఏڙ wϢʔβ#JUSJTF΁ΞΫηεͯ͠XPSLqPXઃܭ wPQFOWQO "DUJWBUF44)LFZͳͲ͸طʹઃఆ wϢʔβϏϧυ Ϗϧυ࣮ߦ·Ͱ

     
  16. wϢʔβ#JUSJTFͷΞΧ΢ϯτొ࿥ wϢʔβ#JUSJTFར༻ਃ੥ wӡ༻ऀར༻ਃ੥ͨ͠Ϣʔβ΁71/ূ໌ॻͷൃߦ wϢʔβ71/ূ໌ॻΛར༻ͯ͠ॳظઃఆͱϓϩδΣΫτͷ௥Ճ w$-*πʔϧΛఏڙ wϢʔβ#JUSJTF΁ΞΫηεͯ͠XPSLqPXઃܭ wPQFOWQO "DUJWBUF44)LFZͳͲ͸طʹઃఆ wϢʔβϏϧυ Ϗϧυ࣮ߦ·Ͱ

     
  17. wϢʔβ#JUSJTFͷΞΧ΢ϯτొ࿥ wϢʔβ#JUSJTFར༻ਃ੥ wӡ༻ऀར༻ਃ੥ͨ͠Ϣʔβ΁71/ূ໌ॻͷൃߦ wϢʔβ71/ূ໌ॻΛར༻ͯ͠ॳظઃఆͱϓϩδΣΫτͷ௥Ճ w$-*πʔϧΛఏڙ wϢʔβ#JUSJTF΁ΞΫηεͯ͠XPSLqPXઃܭ wPQFOWQO "DUJWBUF44)LFZͳͲ͸طʹઃఆ wϢʔβϏϧυ Ϗϧυ࣮ߦ·Ͱ

     
  18. wϢʔβ#JUSJTFͷΞΧ΢ϯτొ࿥ wϢʔβ#JUSJTFར༻ਃ੥ wӡ༻ऀར༻ਃ੥ͨ͠Ϣʔβ΁71/ূ໌ॻͷൃߦ wϢʔβ71/ূ໌ॻΛར༻ͯ͠ॳظઃఆͱϓϩδΣΫτͷ௥Ճ w$-*πʔϧΛఏڙ wϢʔβ#JUSJTF΁ΞΫηεͯ͠XPSLqPXઃܭ wPQFOWQO "DUJWBUF44)LFZͳͲ͸طʹઃఆ wϢʔβϏϧυ Ϗϧυ࣮ߦ·Ͱ

      $ dena-bitrise init Enter Bitrise.io id> bitrise.user Enter Bitrise.io password> Login success Personal Access Token require 'repo' scope Enter Github:e Personal Access Token (Optional)> Enter VPN Server CA certificate file path [ex: ca.crt]> ./ca.crt Enter VPN Client certificate file path [ex: client_name.crt]> ./bitrise.user.crt Enter VPN Client Private Key file path [ex: client_name.key]> ./bitrise.user.key Initialize config finished! w ॳظઃఆ w #JUSJTFೝূ৘ใɺ(JU)VC"DDFTT5PLFOΛར༻
  19. wϢʔβ#JUSJTFͷΞΧ΢ϯτొ࿥ wϢʔβ#JUSJTFར༻ਃ੥ wӡ༻ऀར༻ਃ੥ͨ͠Ϣʔβ΁71/ূ໌ॻͷൃߦ wϢʔβ71/ূ໌ॻΛར༻ͯ͠ॳظઃఆͱϓϩδΣΫτͷ௥Ճ w$-*πʔϧΛఏڙ wϢʔβ#JUSJTF΁ΞΫηεͯ͠XPSLqPXઃܭ wPQFOWQO "DUJWBUF44)LFZͳͲ͸طʹઃఆ wϢʔβϏϧυ Ϗϧυ࣮ߦ·Ͱ

      w ϓϩδΣΫτͷ௥Ճ w ϓϩδΣΫτͷλΠϓ "OESPJEJ04ͳͲ Λର࿩తʹઃఆ $ dena-bitrise add Enter Git Repository SSH URL> git@githube.jp:Bitrise/workflow-examples.git Processing. Please wait ... Project Types: ɹ/* লུ */ Enter Project Type Number> 5 Enter Project (or Workspace) path > ./ Enter Scheme name > sample Enter ipa export method (ad-hoc|app-store|development|enterprise) > enterprise Stack Types: /* লུ */ Enter Stack Type Number> 1 Do you need to use an additional private repository? For example for private CocoaPods, fastlane match, submodule, etc. [yes/no]> no Repository registerd at https://www.bitrise.io/app/xxxxxxxxx
  20. Ϗϧυ࣮ߦ·Ͱ   wϢʔβ#JUSJTFͷΞΧ΢ϯτొ࿥ wϢʔβ#JUSJTFར༻ਃ੥ wӡ༻ऀར༻ਃ੥ͨ͠Ϣʔβ΁71/ূ໌ॻͷൃߦ wϢʔβ71/ূ໌ॻΛར༻ͯ͠ॳظઃఆͱϓϩδΣΫτͷ௥Ճ w$-*πʔϧΛఏڙ wϢʔβ#JUSJTF΁ΞΫηεͯ͠XPSLqPXઃܭ wPQFOWQOͳͲ͸طʹઃఆ

    wϢʔβϏϧυ
  21. wϢʔβ#JUSJTFͷΞΧ΢ϯτొ࿥ wϢʔβ#JUSJTFར༻ਃ੥ wӡ༻ऀར༻ਃ੥ͨ͠Ϣʔβ΁71/ূ໌ॻͷൃߦ wϢʔβ71/ূ໌ॻΛར༻ͯ͠ॳظઃఆͱϓϩδΣΫτͷ௥Ճ w$-*πʔϧΛఏڙ wϢʔβ#JUSJTF΁ΞΫηεͯ͠XPSLqPXઃܭ wPQFOWQO "DUJWBUF44)LFZͳͲ͸طʹઃఆ wϢʔβϏϧυ Ϗϧυ࣮ߦ·Ͱ

      ग़యɿ#JUSJTFαʔϏε IUUQTBQQCJUSJTFJP ͷ8PSLqPX&EJUPSը໘
  22. Ϗϧυ࣮ߦ·Ͱ wϢʔβ#JUSJTFͷΞΧ΢ϯτొ࿥ wϢʔβ#JUSJTFར༻ਃ੥ wӡ༻ऀར༻ਃ੥ͨ͠Ϣʔβ΁71/ূ໌ॻͷൃߦ wϢʔβ71/ূ໌ॻΛར༻ͯ͠ॳظઃఆͱϓϩδΣΫτͷ௥Ճ w$-*πʔϧΛఏڙ wϢʔβ#JUSJTF΁ΞΫηεͯ͠XPSLqPXઃܭ wPQFOWQO "DUJWBUF44)LFZͳͲ͸طʹઃఆ wϢʔβϏϧυ

     
  23. ·ͱΊ w &OUFSQSJTF൛Ͱ͸ͳ͍ͨΊӡ༻ίετ௿Լ w 9DPEF࠷৽൛΁ͷૣ͍௥ैͱΞοϓσʔτίετͳ͠ w #JUSJTF(JU)VC&OUFSQSJTFͷ࿈ܞ͸71/ΛுΔ w Ϣʔβ͕ར༻͠΍͍͢Α͏ʹ$-*πʔϧΛఏڙ w

    Ϣʔβʹରͯ͠$*αʔϏεͷબ୒ࢶ૿Ճ w #JUSJTF $JSDMF$*&OUFSQSJTF  
  24. )BQQZEFWFMPQNFOU XJUI#JUSJTF