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

Bitriseの社内提供へ

Hisashi.Iguchi
November 07, 2018

 Bitriseの社内提供へ

Hisashi.Iguchi

November 07, 2018
Tweet

More Decks by Hisashi.Iguchi

Other Decks in Technology

Transcript

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

    4PGU8BSF&OHJOFFSJO5FTU  w ࣗಈςετͷ։ൃαϙʔτɺಋೖ w #JUSJTF$JSDMF$*&OUFSQSJTFͷӡ༻อक  
  2. w &OUFSQSJTF൛Ͱͳ͍$*αʔϏεͷར༻͕Ͱ͖ͳ͍͔ࣾ಺ௐࠪ։࢝ w ࠒ$JSDMF$*ͷར༻Ϣʔβ૿ՃʹΑΓݟ͑ͨ՝୊ w 9DPEFͷ࠷৽όʔδϣϯఏڙͷεϐʔυ w &OUFSQSJTF൛ͷͨΊΠϯϑϥΛࣾ಺ͷӡ༻ऀ͕؅ཧ w Πϝʔδͷ੾Γସ͑࡞ۀͳͲͰJ04ͷϏϧυͷఀࢭ͕ඞཁ

    w ӡ༻ͷෛ୲૿ͱϢʔβ͕$*αʔϏεΛ༗ޮ׆༻Ͱ͖͍ͯͳ͍ #JUSJTFಋೖલͷ՝୊   w ࣾ಺ͷ$JSDMF$*ར༻Ϣʔβ͔Βͷզʑӡ༻ऀʹର͢Δ੠ ɾ࠷৽όʔδϣϯͷ9DPEF͸΍͘ରԠ͍͚ͯͨͩ͠Ε͹خ͍͠Ͱ͢ɻɻ ɾ৽͍͠9DPEFͰ͖Δ͔͗Γ΍͸͘αϙʔτͯ͠΄͍͠ ɾ$JSDMF$*&OUFSQSJTF͸Ͱ͖Δ͚ͩૣ͘࠷৽ͷYDPEFόʔδϣϯʹ௥ਵͯ͠΄͍͠Ͱ͢ɻ ɾҎલ·Ͱ࢖͍ͬͯ·͕ͨ͠9DPEFʹରԠ͍ͯ͠ͳ͔ͬͨͨΊɺ࢖͏ͷΛ΍Ί·ͨ͠ɻ
  3. #JUSJTFಋೖ w ௐࠪͷ຤IUUQTXXXCJUSJTFJPఏڙ։࢝ w ౰࣌ϞόΠϧܥ޲͚Ͱ஫໨͞Ε͍ͯͨ$*αʔϏε w &OUFSQSJTF൛Ͱͳ͍ͨΊΠϯϑϥ؅ཧͳ͠ w ӡ༻ίετͷ௿Լ w

    (JU)VC&OUFSQSJTFͱͷ࿈ܞ͸71/Λ׆༻ w #JUSJTFͱ$JSDMF$*&OUFSQSJTFͷ྆ํΛࣾ಺ఏڙ w Ϣʔβͷબ୒ࢶ૿Ճ   ग़యɿ#JUSJTF*OD#JUSJTFQSFTTLJUz63-IUUQTXXXCJUSJTFJPQSFTTLJU
  4. 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Λར༻
  5. 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> [email protected]: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