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
870
EC2 Mac インスタンスに入門してみた
hisa9chi
0
1.3k
20200805_Server版を見捨てないで_Cloud版の機能欲しいんです_.pdf
hisa9chi
0
300
Jenkins環境運用に関するSWETとしての取り組み
hisa9chi
0
1.1k
MacStadium使ってみた
hisa9chi
1
2.5k
サポートは強力な味方
hisa9chi
2
420
Bitriseの社内提供へ
hisa9chi
6
6k
Other Decks in Technology
See All in Technology
テストコード品質を高めるためにMutation Testingライブラリ・Strykerを実戦導入してみた話
ysknsid25
7
2.6k
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
120
データプロダクトの定義からはじめる、データコントラクト駆動なデータ基盤
chanyou0311
2
280
Terraform未経験の御様に対してどの ように導⼊を進めていったか
tkikuchi
2
430
開発生産性を上げながらビジネスも30倍成長させてきたチームの姿
kamina_zzz
2
1.7k
Lambdaと地方とコミュニティ
miu_crescent
2
370
[CV勉強会@関東 ECCV2024 読み会] オンラインマッピング x トラッキング MapTracker: Tracking with Strided Memory Fusion for Consistent Vector HD Mapping (Chen+, ECCV24)
abemii
0
220
TanStack Routerに移行するのかい しないのかい、どっちなんだい! / Are you going to migrate to TanStack Router or not? Which one is it?
kaminashi
0
580
[FOSS4G 2019 Niigata] AIによる効率的危険斜面抽出システムの開発について
nssv
0
310
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
170
【Pycon mini 東海 2024】Google Colaboratoryで試すVLM
kazuhitotakahashi
2
490
EventHub Startup CTO of the year 2024 ピッチ資料
eventhub
0
110
Featured
See All Featured
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
A Tale of Four Properties
chriscoyier
156
23k
Practical Orchestrator
shlominoach
186
10k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
Bash Introduction
62gerente
608
210k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
410
Rails Girls Zürich Keynote
gr2m
94
13k
Designing the Hi-DPI Web
ddemaree
280
34k
How GitHub (no longer) Works
holman
310
140k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
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