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

Bring out the ability of CircleCI 2.0

Bring out the ability of CircleCI 2.0

CircleCI Meetup Tokyo #3 の発表資料です
https://connpass.com/event/64629/

Hideki Igarashi

September 15, 2017
Tweet

More Decks by Hideki Igarashi

Other Decks in Programming

Transcript

  1. ηοτΞοϓॲཧ͕஗͍ w ϕʔε04΁ͷ؀ڥߏங w "15ύοέʔδͷΠϯετʔϧ w ϛυϧ΢ΣΞ w ࣗલͰΠϯετʔϧɾىಈ w

    ґଘؔ܎ͷղܾ w CVOEMFJOTUBMMOQNJOTUBMM w σʔλϕʔεͷηοτΞοϓ w ΩϟογϡͷංେԽ ෼
  2. ςετฒྻ࣮ߦ༻ͷϦόϥϯγϯά͕໘౗ w ෳ਺ϊʔυͰޮ཰Α͘ςετ࣮ߦ͢ΔͨΊʹ࣮ߦ࣌ؒϕʔεͰόϥ ϯγϯά͍ͨ͠ w ,OBQTBDLͱ͍͏(FNΛར༻ w ϦόϥϯγϯάͷͨΊͷϨϙʔτੜ੒Λ௚ྻͰςετ࣮ߦ͢Δ ඞཁ͕͋Δ w

    Ϩϙʔτ͸ϦϙδτϦʹίϛοτ w $*ͷۭ͍͍ͯΔૣேʹ೔࣍Ͱόον࣮ߦ w Ϩϙʔτߋ৽ͷ1VMM3FRVFTUΛࣗಈ࡞੒ w 1VMM3FRVFTUΛ໨ࢹ֬ೝͯ͠खಈͰϚʔδ
  3. SVO OBNF(JUՒՅԠ԰ՒӘ$IFDLPVU DPNNBOE] HJUDMPOF= TJOHMFCSBODI= EFQUI= CSBODI$*3$-&@#3"/$)= $*3$-&@3&104*503:@63- ԻՓԱሽ〣ӘՒԻԠՏ՛ӕՒԣԫ԰ JGHJUSFTFUIBSE$*3$-&@4)"

    UIFO  "1*ӼൡҮӐҽӘԻՓԱӼԕՋ՛ԣՓ  GJ w $*Λճ͍ͨ͠ίϛοτͷΈΛ TIBMMPXDMPOF͢Δ͜ͱʹΑΓߴ଎Խ w CSBODIΦϓγϣϯͰࢦఆͨ͠ϒϥ ϯνͷΈΛTJOHMFCSBODIΦϓγϣ ϯͰऔಘ w EFQUIΦϓγϣϯʹΛࢦఆ͢Δ ͜ͱͰաڈͷίϛοτཤྺΛऔಘ͠ ͳ͍ w ίϛοτϋογϡͰͷࢦఆ͸Ͱ͖ͳ ͍ͨΊϒϥϯν͕Ϗϧυ࣮ߦޙʹߋ ৽͞Ε͍ͯͳ͍͔೦ͷͨΊ֬ೝ νΣοΫΞ΢τॲཧΛΧελϚΠζ
  4. QVTI ࣗಈϏϧυ औಘ w (JU)VCʹ%PDLFSpMF Λஔ͍ͯ2VBZJPͰ ΠϝʔδΛ؅ཧ w %PDLFS)VCʹൺ΂ ͯࣗಈϏϧυ΍௨஌

    ࿈ܞͳͲͷઃఆ͕͠ ΍͍ͨ͢Ί2VBZJP Λબ୒ ηοτΞοϓࡁΈͷ%PDLFSΠϝʔδΛར༻
  5. ϦετΞ࣌͸ΩϟογϡΩʔ ͕લํҰக͢Δ΋ͷ͕બ ͹ΕΔ ͜ΕʹΑΓґଘ(FNͷ௥ Ճɾ࡟আ࣌΋Ωϟογϡ͕ ࢖ΘΕΔ SFTUPSF@DBDIF OBNF3FTUPSJOH$BDIF#VOEMFS LFZT HFNT\\DIFDLTVN(FNGJMFMPDL^^

    HFNT SVO OBNFCVOEMFJOTUBMMӘᇴ⷗ DPNNBOE]  TBWF@DBDIF OBNF4BWJOH$BDIF#VOEMFS LFZHFNT\\DIFDLTVN(FNGJMFMPDL^^ QBUIT VTSTSDBQQWFOEPSCVOEMF
  6. SVO OBNFCVOEMFJOTUBMMӘᇴ⷗ DPNNBOE] DIFDLTVN@GJMFWFOEPSCVOEMF(FNGJMFMPDLTIB JG<FDIFDLTVN@GJMF>]]TIBTVNDIFDLDIFDLTVN@GJMF UIFO (FNӘԌ՛ԡ԰դՓ CVOEMFJOTUBMM ਜӹӶӔҹӔӍӉ(FNӘథ㖭 CVOEMFDMFBO

    ԩԏԫԗԝՈӼ੢ᆼ TIBTVNBMHPSJUIN(FNGJMFMPDLDIFDLTVN@GJMF FMTF FDIP4LJQQFE GJ Ωʔʹ࢖͍ͬͯΔϑΝΠϧͷϋογϡ஋ࣗମ ΋Ωϟογϡʹอଘ͓͖ͯ͠ɺ׬શҰக͢Δ ͱ͖͸εΩοϓͤ͞Δ
  7. SVO OBNFCVOEMFJOTUBMMӘᇴ⷗ DPNNBOE] DIFDLTVN@GJMFWFOEPSCVOEMF(FNGJMFMPDLTIB JG<FDIFDLTVN@GJMF>]]TIBTVNDIFDLDIFDLTVN@GJMF UIFO (FNӘԌ՛ԡ԰դՓ CVOEMFJOTUBMM ਜӹӶӔҹӔӍӉ(FNӘథ㖭 CVOEMFDMFBO

    ԩԏԫԗԝՈӼ੢ᆼ TIBTVNBMHPSJUIN(FNGJMFMPDLDIFDLTVN@GJMF FMTF FDIP4LJQQFE GJ ݹ͍ϑΝΠϧΛ࡟আ͢Δͷ΋ॏཁ Ωϟογϡʹΰϛ͕ཷ·͍ͬͯͨ͘ΊͩΜͩΜ ϦετΞʹֻ͕͔࣌ؒΔΑ͏ʹͳΔ
  8. ςετͷηοτΞοϓॲཧҎ֎Λ෼཭͍ͨ͠ w ੩తνΣοΫͳͲ w ςετσʔλͷݕূΛ࣮ߦ͍ͯ͠Δ w ςετͷηοτΞοϓʹ͸ඞཁͳ͍ w ςετ࣮ߦͱฒߦͯ͠νΣοΫͰ͖͍ͯΕ͹Α͍ w

    ෳ਺ϊʔυͰ࣮ߦ͢Δඞཁ͸ͳ͍ͷͰϊʔυΠϯσο Ϋε͕ͷϊʔυͰͷΈ࣮ߦ͍ͯͨ͠ w ஍ຯʹ਺෼ֻ͔ΔॲཧͳͷͰ෼཭͍ͨ͠
  9. δϣϒͱͯ͠෼཭͠"1*ݺͼग़͠ KPCT CVJME  TUFQT SVO OBNF'BDUPSZ᫰⼊ԠՏԾӘහӝ௲Ӂ DPNNBOE] JG<<$*3$-&@/0%&@*/%&9FR>> UIFO

    DVSM= V\$*3$-&@"1*@50,&/^= ECVJME@QBSBNFUFST<$*3$-&@+0#>WBMJEBUF@GBDUPSZ= ESFWJTJPO\$*3$-&@4)"^= IUUQTDJSDMFDJDPNBQJWQSPKFDUHJUIVC\$*3$-&@130+&$5@64&3/".&^\$*3$-&@130+&$5@3&10/".&^USFF\$*3$-&@#3"/$)^ GJ  WBMJEBUF@GBDUPSZ  TUFQT  'BDUPSZ(JSM SVO OBNFTQFDGBDUPSJFT㌔टӘड᱒ԯդԧԩԏԫԗ DPNNBOE] GBDUPSZ@HJSMMJOUDSFBUFӑҷӔҮ GBDUPSZ@HJSMWBMJEBUFCVJMEӁӐӬWBMJEӔԯդԧӑәӔҮ CVOEMFFYFDSBLFGBDUPSZ@HJSMMJOUGBDUPSZ@HJSMWBMJEBUF ͜͜Ͱࢦఆͨ͠δϣϒ໊Λ"1*ݺͼग़࣌͠ʹ $*3$-&@+0#Ϗϧυύϥϝʔλʔͱͯ͠౉͢
  10. "1*͔ΒࣗલͰςετϝλσʔλΛऔಘ w ςετϝλσʔλ͸Ϗϧυ൪߸͕Θ͔Ε͹औಘͰ͖Δ w (&5QSPKFDUWDTUZQFVTFSOBNFQSPKFDUCVJME@OVNUFTUT w σϑΥϧτϒϥϯνͷ࠷৽ͷϏϧυ݁ՌΛ࢖͍͍ͨ w ࢦఆϒϥϯνͷ݁ՌҰཡ͕औಘͰ͖Δ w

    (&5QSPKFDUWDTUZQFVTFSOBNFQSPKFDUUSFFCSBODI w ͍ͭΛ࠷৽ͱΈͳ͔͢ج४೔࣌Λ߹Θͤͳ͍ͱλΠϛϯάʹΑͬͯʮ࠷৽ͷϏ ϧυʯ͕ζϨΔ w ࣗ෼ࣗ਎ͷϏϧυͷ։࢝೔࣌Λج४ʹ͢Ε͹ϊʔυ͝ͱʹζϨΔ͜ͱ͸ͳ͍ w Ϗϧυ൪߸Λࢦఆ͢Ε͹୯ҰϏϧυͷ৘ใ͕औಘͰ͖Δ w (&5QSPKFDUWDTUZQFVTFSOBNFQSPKFDUCVJME@OVN