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
730
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.3k
iOSアプリの技術的負債をどう返済したか / How to repay the technical debt of iOS app
kobakei
2
920
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.4k
mockito-kotlin
kobakei
1
510
2017年に新規アプリを立ち上げた話
kobakei
2
1.1k
Other Decks in Programming
See All in Programming
Асинхронность неизбежна: как мы проектировали сервис уведомлений
lamodatech
0
800
創造的活動から切り拓く新たなキャリア 好きから始めてみる夜勤オペレーターからSREへの転身
yjszk
1
130
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
3
470
[JAWS-UG横浜 #76] イケてるアップデートを宇宙いち早く紹介するよ!
maroon1st
0
460
これが俺の”自分戦略” プロセスを楽しんでいこう! - Developers CAREER Boost 2024
niftycorp
PRO
0
190
ドメインイベント増えすぎ問題
h0r15h0
2
340
17年周年のWebアプリケーションにTanStack Queryを導入する / Implementing TanStack Query in a 17th Anniversary Web Application
saitolume
0
250
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
270
テストコード文化を0から作り、変化し続けた組織
kazatohiei
2
1.5k
rails statsで大解剖 🔍 “B/43流” のRailsの育て方を歴史とともに振り返ります
shoheimitani
2
940
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
130
Haze - Real time background blurring
chrisbanes
1
510
Featured
See All Featured
Practical Orchestrator
shlominoach
186
10k
4 Signs Your Business is Dying
shpigford
181
21k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
What's in a price? How to price your products and services
michaelherold
243
12k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
17
2.3k
Designing for humans not robots
tammielis
250
25k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
Code Review Best Practice
trishagee
65
17k
GraphQLとの向き合い方2022年版
quramy
44
13k
How to Think Like a Performance Engineer
csswizardry
22
1.2k
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!