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
2024年活動報告会(人材育成推進WG・ビジネスサブWG) / 20250114-OIDF-J-EduWG-BizSWG
oidfj
0
240
「人物ごとのアルバム」の精度改善の軌跡/Improving accuracy of albums by person
mixi_engineers
PRO
1
110
20250116_自部署内でAmazon Nova体験会をやってみた話
riz3f7
1
100
iPadOS18でフローティングタブバーを解除してみた
sansantech
PRO
1
150
JAWS-UG20250116_iOSアプリエンジニアがAWSreInventに行ってきた(真面目編)
totokit4
0
140
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
6
55k
実践! ソフトウェアエンジニアリングの価値の計測 ── Effort、Output、Outcome、Impact
nomuson
0
2.1k
2025年のARグラスの潮流
kotauchisunsun
0
800
「隙間家具OSS」に至る道/Fujiwara Tech Conference 2025
fujiwara3
7
6.5k
【JAWS-UG大阪 reInvent reCap LT大会 サンバが始まったら強制終了】“1分”で初めてのソロ参戦reInventを数字で振り返りながら反省する
ttelltte
0
140
Formal Development of Operating Systems in Rust
riru
1
420
Bring Your Own Container: When Containers Turn the Key to EDR Bypass/byoc-avtokyo2024
tkmru
0
860
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
173
51k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
30
2.1k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.1k
Producing Creativity
orderedlist
PRO
343
39k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.2k
Speed Design
sergeychernyshev
25
740
How to train your dragon (web standard)
notwaldorf
89
5.8k
Music & Morning Musume
bryan
46
6.3k
Bash Introduction
62gerente
610
210k
GitHub's CSS Performance
jonrohan
1030
460k
Facilitating Awesome Meetings
lara
51
6.2k
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