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
900
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
Oracle Cloud Infrastructure:2024年12月度サービス・アップデート
oracle4engineer
PRO
0
170
2024年にチャレンジしたことを振り返るぞ
mitchan
0
130
あの日俺達が夢見たサーバレスアーキテクチャ/the-serverless-architecture-we-dreamed-of
tomoki10
0
430
KubeCon NA 2024 Recap: How to Move from Ingress to Gateway API with Minimal Hassle
ysakotch
0
200
20241220_S3 tablesの使い方を検証してみた
handy
3
360
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
180
生成AIをより賢く エンジニアのための RAG入門 - Oracle AI Jam Session #20
kutsushitaneko
4
220
複雑性の高いオブジェクト編集に向き合う: プラガブルなReactフォーム設計
righttouch
PRO
0
110
Snowflake女子会#3 Snowpipeの良さを5分で語るよ
lana2548
0
230
Wantedly での Datadog 活用事例
bgpat
1
430
生成AIのガバナンスの全体像と現実解
fnifni
1
180
ずっと昔に Star をつけたはずの思い出せない GitHub リポジトリを見つけたい!
rokuosan
0
150
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.2k
GraphQLとの向き合い方2022年版
quramy
44
13k
Facilitating Awesome Meetings
lara
50
6.1k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
2
170
Code Reviewing Like a Champion
maltzj
520
39k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
17k
What's in a price? How to price your products and services
michaelherold
243
12k
It's Worth the Effort
3n
183
28k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
26
1.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.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