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 2.0: Faster and more stable CI
Search
Keisuke Kobayashi
July 25, 2017
Programming
0
740
CircleCI 2.0: Faster and more stable CI
potatotips 42
Keisuke Kobayashi
July 25, 2017
Tweet
Share
More Decks by Keisuke Kobayashi
See All by Keisuke Kobayashi
今日から始める依存性の注入 / First Time Dependency Injection
kobakei
26
7.4k
iOSアプリの技術的負債をどう返済したか / How to repay the technical debt of iOS app
kobakei
2
930
iOSアプリ内で不正なSSL証明書を検知する / SSL Pinning for iOS apps
kobakei
34
11k
Kyashアプリ開発の現場
kobakei
4
2.7k
Review of Google I/O 2017 & Prepare for Google I/O 2018
kobakei
0
310
APIクライアントをCodableで置き換えた話
kobakei
0
1.5k
開発者が知っておきたい通知の歴史
kobakei
9
7.5k
mockito-kotlin
kobakei
1
510
2017年に新規アプリを立ち上げた話
kobakei
2
1.1k
Other Decks in Programming
See All in Programming
データの整合性を保つ非同期処理アーキテクチャパターン / Async Architecture Patterns
mokuo
47
17k
苦しいTiDBへの移行を乗り越えて快適な運用を目指す
leveragestech
0
590
PHPカンファレンス名古屋2025 タスク分解の試行錯誤〜レビュー負荷を下げるために〜
soichi
1
190
Honoのおもしろいミドルウェアをみてみよう
yusukebe
1
210
『品質』という言葉が嫌いな理由
korimu
0
160
Spring gRPC について / About Spring gRPC
mackey0225
0
220
Introduction to kotlinx.rpc
arawn
0
700
データベースのオペレーターであるCloudNativePGがStatefulSetを使わない理由に迫る
nnaka2992
0
150
Boost Performance and Developer Productivity with Jakarta EE 11
ivargrimstad
0
270
楽しく向き合う例外対応
okutsu
0
120
もう僕は OpenAPI を書きたくない
sgash708
5
1.6k
バックエンドのためのアプリ内課金入門 (サブスク編)
qnighy
8
1.8k
Featured
See All Featured
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.4k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Building Your Own Lightsaber
phodgson
104
6.2k
GitHub's CSS Performance
jonrohan
1030
460k
Typedesign – Prime Four
hannesfritz
40
2.5k
Optimizing for Happiness
mojombo
376
70k
Designing Experiences People Love
moore
140
23k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Done Done
chrislema
182
16k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
How to Think Like a Performance Engineer
csswizardry
22
1.3k
What's in a price? How to price your products and services
michaelherold
244
12k
Transcript
CircleCI 2.0: Faster and more stable CI Keisuke Kobayashi /
kobakei potatotips #42
About Me • Keisuke Kobayashi • GitHub, Qiita: kobakei •
Twitter: kobakei122 • Kyash, Inc. • ݸਓؒૹۚΞϓϦ
Android CI
CI is ۤߦ • ͍ • OOM • Jenkins͓͡͞Μ
બࢶ • Jenkins • Circle CI • Wercker • bitrise.io
બࢶ • Jenkins • Circle CI • Wercker • bitrise.io
• Circle CI 2.0
CircleCI 2.0 • Dockerαϙʔτ • ര • OOMͬͨ
͜Ε͕
͜͏ͳͬͨ
͜͏ͳͬͨ Ϗϧυ࣌ؒ60%ॖʂ
Let’s try
Migration from 1.0 • circle.yml —> .circleci/config.yml • YAMLͷίϚϯυҧ͏ •
ҙ֎ʹެࣜͷ2.0༻YAML͕ͪΌΜͱಈ͘
None
DockerΠϝʔδࢦఆ (CircleCIఏڙ)
ґଘؔͷΩϟογϡ
ςετ࣮ߦ
ͪΐͬͱ͚ͩखΛՃ͑Δ✍
CrashlyticsσϓϩΠ - deploy: name: Deploy APK command: | if [
"${CIRCLE_BRANCH}" == "master" ]; then ./gradlew assembleDebug crashlyticsUploadDistributionDebug fi - store_artifacts: path: app/build/outputs destination: outputs
tag pushͰδϣϒ͕Βͳ͍ • ະରԠΒ͍͠ʢϑΥʔϥϜใʣ • ͱΓ͋͑ͣඌʹ͜ΕΛͯ͠ճආͰ͖Δ deployment: fake_deploy_for_cci2: tag: /.*/
commands: - echo "make tags run in 2.0"
Thanks!