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
720
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
7k
iOSアプリの技術的負債をどう返済したか / How to repay the technical debt of iOS app
kobakei
2
850
iOSアプリ内で不正なSSL証明書を検知する / SSL Pinning for iOS apps
kobakei
34
10k
Kyashアプリ開発の現場
kobakei
4
2.5k
Review of Google I/O 2017 & Prepare for Google I/O 2018
kobakei
0
290
APIクライアントをCodableで置き換えた話
kobakei
0
1.4k
開発者が知っておきたい通知の歴史
kobakei
10
7.2k
mockito-kotlin
kobakei
1
480
2017年に新規アプリを立ち上げた話
kobakei
2
980
Other Decks in Programming
See All in Programming
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
130
What We Can Learn From OSS
inouehi
0
420
効率化に挑戦してみたらモバイル開発が少し快適になった話
ryunakayama
0
130
Milestoner
bkuhlmann
1
410
使ってみよう Azure AI Document Intelligence
kosmosebi
2
310
Let's learn code review
riofujimon
1
310
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
690
見た目から始める生産性向上
ikumatadokoro
7
840
Blue/Greenデプロイの導入による 運用フローの改善
kudoas
1
380
Azure OpenAI Serviceのプロンプトエンジニアリング入門
tomokusaba
3
700
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
320
Site Reliability Engineering for GMO
pyama86
8
1k
Featured
See All Featured
In The Pink: A Labor of Love
frogandcode
138
21k
How GitHub (no longer) Works
holman
304
140k
Imperfection Machines: The Place of Print at Facebook
scottboms
260
12k
How STYLIGHT went responsive
nonsquared
92
4.8k
From Idea to $5000 a Month in 5 Months
shpigford
377
45k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
125
32k
Testing 201, or: Great Expectations
jmmastey
28
6.4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
7
1k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
60
14k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Docker and Python
trallard
34
2.7k
What's in a price? How to price your products and services
michaelherold
237
11k
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!