Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CircleCI first-step
Search
Hisashi.Iguchi
April 27, 2018
Technology
2
1.7k
CircleCI first-step
Hisashi.Iguchi
April 27, 2018
Tweet
Share
More Decks by Hisashi.Iguchi
See All by Hisashi.Iguchi
Jenkins PipelineでのShared Librariesの活用
hisa9chi
0
850
EC2 Mac インスタンスに入門してみた
hisa9chi
0
1.3k
20200805_Server版を見捨てないで_Cloud版の機能欲しいんです_.pdf
hisa9chi
0
300
Jenkins環境運用に関するSWETとしての取り組み
hisa9chi
0
1.1k
MacStadium使ってみた
hisa9chi
1
2.4k
サポートは強力な味方
hisa9chi
2
420
Bitriseの社内提供へ
hisa9chi
6
5.9k
Other Decks in Technology
See All in Technology
プロダクトチームへのSystem Risk Records導入・運用事例の紹介/Introduction and Case Studies on Implementing and Operating System Risk Records for Product Teams
taddy_919
1
170
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
27
12k
「 SharePoint 難しい」ってよく聞くけど、そんなに言うなら8歳の息子に試してもらった
taichinakamura
1
620
AWSコンテナ本出版から3年経った今、もし改めて執筆し直すなら / If I revise our container book
iselegant
15
4k
初心者に Vue.js を 教えるには
tsukuha
5
390
よくわからんサービスについての問い合わせが来たときの強い味方 Amazon Q について
kazzpapa3
0
220
Autify Company Deck
autifyhq
1
39k
【若手エンジニア応援LT会】AWSで繋がり、共に成長! ~コミュニティ活動と新人教育への挑戦~
kazushi_ohata
0
180
IaC運用を楽にするためにCDK Pipelinesを導入したけど、思い通りにいかなかった話
smt7174
1
110
生成AIの強みと弱みを理解して、生成AIがもたらすパワーをプロダクトの価値へ繋げるために実践したこと / advance-ai-generating
cyberagentdevelopers
PRO
1
180
事業者間調整の行間を読む 調整の具体事例
sugiim
0
1.5k
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.6k
Featured
See All Featured
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
46
2.1k
Teambox: Starting and Learning
jrom
132
8.7k
A better future with KSS
kneath
238
17k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
A Tale of Four Properties
chriscoyier
156
23k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
364
22k
A Modern Web Designer's Workflow
chriscoyier
692
190k
Unsuck your backbone
ammeep
668
57k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
92
16k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
107
49k
Intergalactic Javascript Robots from Outer Space
tanoku
268
27k
Why You Should Never Use an ORM
jnunemaker
PRO
53
9k
Transcript
$JSDMF$*pSTUTUFQ !IJTBDIJ 'SJ ͋ͭ·Εʂ$*$%πʔϧେू߹ʂɹDOEKQୈճ !ΦϥΫϧ੨ࢁηϯλʔ
ਓ w ࢯ໊ w Ҫޱ߃ࢤ )JTBTIJ*HVDIJʣ w ॴଐ w %F/"48&5(S
4PGU8BSF&OHJOFFSJO5FTU w ։ൃޮ্ͷͨΊͷࣗಈςετͷ։ൃಋೖ w ࣾఏڙதͷ$JSDMF$*&OUFSQSJTFͷӡ༻อक
ΞδΣϯμ w جຊใ w δϣϒͷछผ w ୯Ұδϣϒ w 8PSLqPX w
ػೳհ w ·ͱΊ w ͓·͚
جຊใ
$JSDMF$*ͬͯ·͢ʁ
WFS -JOVY൛ .BD04൛ ϦϦʔε ग़యɿϑϦʔૉࡐͺͨͦ͘ ࡱӨऀɿ͢͠ͺ͘ 63-IUUQTXXXQBLVUBTPDPNQPTUIUNMʢࢀরʣ
WFSΛ த৺ʹ͠·͢
ͳͥͳΒʜ
4VOTFUUJOH$JSDMF$* "VHVTU ग़యɿϑϦʔૉࡐͺͨͦ͘ ࡱӨऀɿ:BNBTIB 63-IUUQTXXXQBLVUBTPDPNQPTUIUNMʢࢀরʣ IUUQTDJSDMFDJDPNCMPHTVOTFUUJOH
8IBU$JSDMF$* w ެࣜαΠτɿIUUQTDJSDMFDJDPN w -JOVY.BD04ͷ4BB4ܕ$*4FSWJDF w +FOLJOTͱҧ͍Πϯϑϥͷӡ༻อकෆཁɹ˞&OUFSQSJTF൛ཁӡ༻อक w (JU)VC #JUCVDLFUͱ࿈ܞ
w ίϯςφϕʔεͰδϣϒΛ࣮ߦ w δϣϒఆٛϑΝΠϧΛϦϙδτϦʹཧ w TUBDLTIBSFͰͷೝ্Ґ w IUUQTTUBDLTIBSFJPDPOUJOVPVTJOUFHSBUJPO
1SJDJOH w 1SJDJOHBOE1MBO*OGPSNBUJPO IUUQTDJSDMFDJDPNQSJDJOH w େ͖͚ͯ͘λΠϓ w -JOVY.BD04&OUFSQSJTF
ग़యɿ$JSDMF*OUFSOFU4FSWJDFT *OD1SJDJOHBOE1MBO*OGPSNBUJPO$JSDMF$*63-IUUQTDJSDMFDJDPNQSJDJOH
1SJDJOH-JOVY w ݱࡏίϯςφ୯ҐͰͷྉۚઃఆ w ࠓޙैྔ՝੍ۚʹมߋ༧ఆͱͷ͜ͱʢมߋ࣌ظະఆʣ w 044QSPKFDUͰ͋Είϯςφ·Ͱແྉ w ίϯςφແྉ
w QSJWBUFϦϙδτϦͰແྉ w ݄࣌ؒ w ͋ͨΓ ग़యɿ$JSDMF*OUFSOFU4FSWJDFT *OD1SJDJOHBOE1MBO*OGPSNBUJPO$JSDMF$*63-IUUQTDJSDMFDJDPNQSJDJOHCVJMEMJOVY
1SJDJOH.BD04 w λΠϓͷྉۚϓϥϯ w 044QSPKFDUEJTDPVOU͋Γʢαϙʔτ࿈བྷʣ 'SFF5SJBM XFFL ग़యɿ$JSDMF*OUFSOFU4FSWJDFT *OD1SJDJOHBOE1MBO*OGPSNBUJPO$JSDMF$*63-IUUQTDJSDMFDJDPNQSJDJOHCVJMEPTY
1SJDJOH&OUFSQSJTF w Ϣʔβ୯ҐͰͷྉۚઃఆͰ͋Γؒܖ w .BD04Λར༻͢Δ߹ؒܖͰ͍߹Θͤ w ίϯςφ୯ҐͰͷܖ w -JOVYWFS
.BD04WFS ग़యɿ$JSDMF*OUFSOFU4FSWJDFT *OD1SJDJOHBOE1MBO*OGPSNBUJPO$JSDMF$*63-IUUQTDJSDMFDJDPNQSJDJOHCVJMEFOUFSQSJTF
ొ w 4JHOJOɿIUUQTDJSDMFDJDPNTJHOVQ w (JU)VC#JUCVDLFU(PPHMFͷΞΧϯτ ग़యɿ$JSDMF*OUFSOFU4FSWJDFT *OD4JHOVQ$JSDMF$*63-IUUQTDJSDMFDJDPNTJHOVQ
Ϗϧυ w δϣϒͷఆٛ w ϧʔτͷDJSDMFDJDPOpHZNMʹఆٛ w DG WFSϧʔτԼͷDJSDMFZNMʹఆٛ w ࣮ߦλΠϛϯά
w ϦϙδτϦ'PMMPX࣌ w ରϦϙδτϦʹDPNNJUQVTI1VMM3FRVFTU w "1*ܦ༝
δϣϒͷछผ
δϣϒఆٛͷछྨ w ୯Ұδϣϒ w ̍ͭͷCVJMEδϣϒͷΈͰߏ w 8PSLqPX w δϣϒΛׂͯ͠ఆٛ w
δϣϒ࣮ߦͰδϣϒίϯςφ༗ w ฒྻͰ࣮ߦͤ͞Δ߹ෳίϯςφ͕ඞཁ w ࣮ߦॱংґଘؔͳͲఆٛ
δϣϒͷछผ ୯Ұδϣϒ
୯Ұδϣϒ
୯Ұδϣϒ ඞਢ߲ ɹWFSͷδϣϒͱ ɹࣝผ͢ΔͨΊʹඞཁ
୯Ұδϣϒ ୯Ұδϣϒͷ߹ CVJMEͷδϣϒ໊
୯Ұδϣϒ +PCͷఆٛ ɹ࣮ߦλΠϓͱ ɹ࣮ߦεςοϓΛهࡌ
࣮ߦλΠϓ w NBDIJOF w ৽ن7.Λ্ཱͪ͛ͯͦ͜Ͱδϣϒ࣮ߦ w EPDLFS w ࢦఆͨ͠EPDLFSJNBHF্Ͱδϣϒ࣮ߦ w
NBDPT w .BD04্Ͱδϣϒ࣮ߦ
୯Ұδϣϒ ࣮ߦλΠϓ ɹEPDLFS ར༻Πϝʔδ ɹHPMBOH
୯Ұδϣϒ Πϯσϯτҙ εϖʔεͭ
୯Ұδϣϒ Πϯσϯτҙ εϖʔεͭ Τϥʔ༰දࣔ ग़యɿ$JSDMF$*ͷαʔϏεը໘ΑΓ
୯Ұδϣϒ ग़యɿ$JSDMF$*ͷαʔϏεը໘ΑΓ
୯Ұδϣϒ ग़యɿ$JSDMF$*ͷαʔϏεը໘ΑΓ
δϣϒͷछผ 8PSLqPX
8PSLqPX
8PSLqPX +PCΛׂͭఆٛ ɹɾDSFBUFDPOUFOU ɹɾEFMFUFDPOUFOU ɹɾVQEBUFDPOUFOU
8PSLqPX 8PSLqPX+PC໊শ
8PSLqPX δϣϒͷ࣮ߦॱং ґଘؔΛఆٛ
8PSLqPX SFRVJSFTͰ ଞ+PCͱͷ ґଘؔΛఆٛ
8PSLqPX άϩʔόϧͳڥมͷར༻ ˞8PSLqPXͰͷΈར༻Մ άϩʔόϧͳڥม 4&55*/(4$POUFYUTΑΓઃఆ ग़యɿ$JSDMF$*ͷαʔϏεը໘ΑΓ
8PSLqPX +PCΛఀࢭͯ͠ "QQSPWFͪͱͳΔ ग़యɿ$JSDMF$*ͷαʔϏεը໘ΑΓ
8PSLqPX ग़యɿ$JSDMF$*ͷαʔϏεը໘ΑΓ
8PSLqPX ग़యɿ$JSDMF$*ͷαʔϏεը໘ΑΓ
8PSLqPX ग़యɿ$JSDMF$*ͷαʔϏεը໘ΑΓ
8PSLqPX
8PSLqPX ಉ͡ఆٛΛ Կ໘Ͱ͢Ͷ
8PSLqPX ZBNMͷه๏Λ ར༻ͯ͠ఆٛ࡞
ػೳհ
EPDLFSίϚϯυͷར༻ δϣϒͰ EPDLFSίϚϯυΛ ར༻͢Δ߹ ຊίϚϯυΛར༻
Ռͱςετ݁Ռͷอଘ w TUPSF@BSUJGBDUT w ՌΛอଘͯ͠"SUJGBDUT͔ΒμϯϩʔυՄೳʹ͢Δ w TUPSF@UFTU@SFTVMUT w ςετ݁Ռอଘͯ͠5FTU4VNNBSZ͔Β֬ೝՄೳʹ͢Δ
ग़యɿ$JSDMF$*ͷαʔϏεը໘ΑΓ
44)σόοά w Ϗϧυ࣮ߦதͷίϯςφϩάΠϯͯ͠σόοά w ϩάΠϯʹ(JU)VCొ͍ͯ͠Δ44)ΩʔΛར༻ w Ϗϧυը໘ͷӈ্͔Β44)σόοά࣮ߦՄೳ 44)Λ༗ޮʹ࣮ͯ͠ߦ ىಈͨ͠··ͱͳΔ
ग़యɿ$JSDMF$*ͷαʔϏεը໘ΑΓ
௨ w Ϣʔβ୯Ґ w &NBJM௨ɺ8FC/PUJpDBUJPO w ϓϩδΣΫτ୯Ґ w $IBU/PUJpDBUJPO w
4MBDL )JQDIBU 'MPXEPDL $BNQpSF *3$ w 4UBUVT#VEHFT w (JU)VCͷରϓϩδΣΫτදࣔՄೳ ग़యɿ(JU)VCDPNͷαʔϏεը໘ΑΓ
ॊೈͳDBDIFػߏ w SFTUPSF@DBDIFͰऔಘTBWF@DBDIFͰอଘ w ࢦఆQBUITͷใʹLFZΛ͚ͭͯDBDIFʢجຊతʹDMFBOෆՄʣ w LFZʹWFSTJPOΛࣔ͢ΛຒΊΔͷ͕ϕετϓϥΫςΟε w औΓग़͢ࡍLFZʹϚον͢ΔใΛऔಘ w
ҙͷλΠϛϯάͰҙͷใΛ֨ೲՄೳ
ෳฒྻ࣮ߦ w ґଘ͕ͳ͚Εෳ݅Λ ฒྻ࣮ͯ͠ߦ w SVCZ OPEF w -JOVY.BD04
ग़యɿ$JSDMF$*ͷαʔϏεը໘ΑΓ
DBDIFͱ8PSLqPX w ґଘ͕ؔͳ͍δϣϒΛฒྻ࣮ߦ w +PCؒͰͷσʔλड͚͠ w DBDIFΛ׆༻ w QFSTJTU@UP@XPSLTQBDFͰΑ͍
δϣϒͷ૯࣮ߦ࣌ؒͷॖՄೳ
εέδϡʔϧ࣮ߦ w εέδϡʔϧ࣮ߦՄೳ w 8PSLqPXͷδϣϒ w ҙ w 65$Ͱͷهࡌ͕ඞਢ w
ִ࣮ؒߦͳͲͷදه w w ໘Ͱ ͱهࡌ͕ඞཁ ࣮ߦ͢Β͞Εͳ͍ ग़యɿ$JSDMF$*ͷαʔϏεը໘ΑΓ
$ curl -o /usr/local/bin/circleci \ https://circle-downloads.s3.amazonaws.com/releases/build_agent_wrapper/circleci \ && chmod +x
/usr/local/bin/circleci $ circleci update $JSDMF$*-PDBM$-* w $-*࣮ߦʹEPDLFSڥ͕ඞਢ w 8PSLqPX DBDIF NBDIJOFFYFDVUPSʹඇରԠ $ circleci config validate -c .circleci/config.yml config file is valid w Πϯετʔϧ w ఆٛϑΝΠϧͷ֬ೝ
$JSDMF$*-PDBM$-* $ circleci build .circleci/config.yml w ϩʔΧϧ࣮ߦ w DPNNJUQVTI͢Δલʹ֬ೝՄೳ
w ϩʔΧϧ࣮ߦൃల్্
1MBOઃఆͱར༻ঢ়گ w 4&55*/(41-"/͔Βίϯςφܖར༻ঢ়گΛ֬ೝ ར༻ঢ়گ ίϯςφ มߋ ग़యɿ$JSDMF$*ͷαʔϏεը໘ΑΓ
·ͱΊ w -JOVYͰ͋Είϯςφར༻ྉແྉ w 1SJWBUFϦϙδτϦͰແྉ w 8PSLqPXͰδϣϒׂ w ґଘؔͷͳ͍δϣϒΛฒྻ࣮ߦ w
ॊೈͳDBTIFػߏ͕༗ޮత w ੍ݶ͋ΔͷͷϩʔΧϧͰ؆қతͳ֬ೝ͕Մೳ
ࢀߟ w $POpHVSBUJPO3FGFSFODFɿ w IUUQTDJSDMFDJDPNEPDTDPOpHVSBUJPOSFGFSFODF w 4BNQMF w IUUQTDJSDMFDJDPNEPDTFYBNQMFT w
"1*3FGFSFODF w IUUQTDJSDMFDJDPNEPDTBQJWSFGFSFODF w -PDBM$-* w IUUQTDJSDMFDJDPNEPDTMPDBMDMJ w %JTDVTT w IUUQTEJTDVTTDJSDMFDJDPN
͓·͚$JSDMF$*5PLZP6TFS.FFU6QΑΓ w $JSDMF$*ຊࢧ͕ࣾͰ͖ΔΑ͏Ͱ͢ w ՝ۚܗଶΛίϯςφ୯Ґैྔ՝੍ۚ w 1SPUFDUFE3FTPVSDFT w FY Ϣʔβ͝ͱʹσϓϩΠՄೳෆՄೳͱ੍͍ͬͨޚ
w */4*()54ػೳͷڧԽ w ༗ޮ׆༻͕ՄೳͳΑ͏ʹػೳվળ w ݱࡏ"1*Λ(SBQI2-Λ༻͍ͯॱ࣍։ൃத w #:0%SFNPUFEPDLFSͷ7.ىಈΛΦϯϓϨϚγϯͷར༻Մೳ
)BQQZ$*-JGF