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
umedago-20190726.pdf
Search
kumatch
July 26, 2019
Programming
0
50
umedago-20190726.pdf
kumatch
July 26, 2019
Tweet
Share
More Decks by kumatch
See All by kumatch
goleak で goroutine leak を検出する
kumatch
0
440
Other Decks in Programming
See All in Programming
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
110
0→1と1→10の狭間で Javaという技術選定を振り返る/Reflecting on the Decision to Choose Java Between Scaling from 0 to 1 and 1 to 10
jaguar_imo
2
380
入門 AWS Amplify Gen2 / Introduction to AWS Amplify Gen2
genkiogasawara
1
330
CA.swift19 恋するAIアプリ開発の裏側
oskmr
0
360
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
130
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
250
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
120
AWS CDKコントリビュートTIPS / aws-cdk-contribution-tips
gotok365
2
100
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
Elm 0.19.0 Changes
bkuhlmann
0
490
"config" ってなんだ? / What is "config"?
okashoi
0
240
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
120
39k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
244
20k
A better future with KSS
kneath
231
16k
What the flash - Photography Introduction
edds
64
11k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
78
42k
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
Writing Fast Ruby
sferik
621
60k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
18
6.9k
Embracing the Ebb and Flow
colly
80
4.1k
A designer walks into a library…
pauljervisheath
200
23k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
116
18k
Transcript
GoϚϧνϓϥοτϑΥʔϜͷͨΊͷ CIαʔϏε 2019-07-26 Umeda.go 2019 Summer Yosuke Kumakura
About • kuamtch / ۽༸հ • freee גࣜձࣾ • go
/ ruby / javascript / node.js / php
͓ ʮϚϧνϓϥοτϑΥʔϜʹల։͞ΕΔ ιϑτΛ Go Ͱ։ൃ͢Δʯͱ͖ͷ CI ڥ Λߟ͑Δ
جຊͷ • Ϗϧυ࣌ʹOS/ΞʔΩςΫνϟݻ༗ͳ Go ίʔυΛѻ͏Έ͕ ͋Δ • ίʔυઌ಄ͷϏϧυλά (// +build
GOOS) • ϑΝΠϧ໊ (_GOOS, _GOARCH) • ৄ͘͠ https://golang.org/pkg/go/build/
ඪ • Windows / OSX / Linux ͷ CI Λճ͍ͨ͠
• ΫϩείϯύΠϧ͕తͰͳ͍ • OS ݻ༗ʢґଘʣͳॲཧʹରͯ͠ςετͰ͖ΔΑ͏ʹ͍ͨ͠ • ָ͍ͨ͠ʢࣗͰڥ࡞Βͳ͍ʣ
֬ೝ༻ίʔυ • https://github.com/kumatch/example-go-multios-ci • Windows/OSX/Linux ຖʹҟͳΔॲཧίʔυΛ༻ҙ • ςετίʔυҰԠ OS ຖʹ༻ҙͯ͠Έͨ
• ͜ΕΛ͍ΖΜͳ CI αʔϏεͰಈ͔͢ • ࠓճςετ࣮ߦͷΈ
Travis CI • Windows / OSX / Linux OK •
Windows ·ͩएׯෆ҆ఆ͔
CircleCI • Windows ະαϙʔτ • macOS ϓϥϯͰ Mac ڥ͕͑Δ͚Ͳ Go
͕ೖͬͯͳ͍
AppVeyor • Windows / Linux • ͜Ε·Ͱ Windows ͚ʹʴίϨͰΘΕ͍ͯͨҹ •
ҟͳΔڥ͚ʹϑϩʔͷఆٛΛॻ͘ͷ͕େมʢո͍͠ʣ • matrix only ͱ্͔ͬͯॻ͖͢Δ
Azure DevOps (Pipelines) • Windows / OSX / Linux •
ʮCIαʔϏεʯͷγϯϓϧ͞ͱϚωʔδυͷ͍͍ͱ͜औΓ
AWS CodeBuild / GCP Cloud Build • Docker ʹΑΔϏϧυڥ •
Windows / Linux • ࣗʹඞཁͳͷΛ̍ͭͣͭ࡞Γ·͠ΐ͏Έ͍ͨͳΠϝʔδ • ख͔͔ؒΔ͕͖উखͰ͖ͦ͏
·ͱΊ • Travis CI ؆୯ʹϚϧνϓϥοτϑΥʔϜ͚ͷରԠ͕Մೳ • Azure Pipelines ΊͬͪΌྑ͍ •
Windows͚ͷΈʹݶఆͯ͠ͷ AppVeyor Ҿ͖ଓ͖ΞϦ • AWS GCP Ψνܥ