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
930
EC2 Mac インスタンスに入門してみた
hisa9chi
0
1.3k
20200805_Server版を見捨てないで_Cloud版の機能欲しいんです_.pdf
hisa9chi
0
310
Jenkins環境運用に関するSWETとしての取り組み
hisa9chi
0
1.2k
MacStadium使ってみた
hisa9chi
1
2.5k
サポートは強力な味方
hisa9chi
2
430
Bitriseの社内提供へ
hisa9chi
6
6k
Other Decks in Technology
See All in Technology
商品レコメンドでのexplicit negative feedbackの活用
alpicola
2
370
Alignment and Autonomy in Cybozu - 300人の開発組織でアラインメントと自律性を両立させるアジャイルな組織運営 / RSGT2025
ama_ch
1
2.4k
ABWGのRe:Cap!
hm5ug
1
120
2025年のARグラスの潮流
kotauchisunsun
0
800
メンバーがオーナーシップを発揮しやすいチームづくり
ham0215
2
140
今から、 今だからこそ始める Terraform で Azure 管理 / Managing Azure with Terraform: The Perfect Time to Start
nnstt1
0
240
My small contributions - Fujiwara Tech Conference 2025
ijin
0
1.4k
DMMブックスへのTipKit導入
ttyi2
1
110
CDKのコードレビューを楽にするパッケージcdk-mentorを作ってみた/cdk-mentor
tomoki10
0
210
30分でわかる「リスクから学ぶKubernetesコンテナセキュリティ」/30min-k8s-container-sec
mochizuki875
3
450
Evolving Architecture
rainerhahnekamp
3
260
AWS Community Builderのススメ - みんなもCommunity Builderに応募しよう! -
smt7174
0
180
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Building Adaptive Systems
keathley
38
2.4k
Docker and Python
trallard
43
3.2k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Documentation Writing (for coders)
carmenintech
67
4.5k
Speed Design
sergeychernyshev
25
740
A better future with KSS
kneath
238
17k
Agile that works and the tools we love
rasmusluckow
328
21k
Gamification - CAS2011
davidbonilla
80
5.1k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
The World Runs on Bad Software
bkeepers
PRO
66
11k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.4k
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