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
AIの力でお手軽Chrome拡張機能作り
taiseiue
0
190
Domain-Driven Design (Tutorial)
hschwentner
13
22k
一休.com のログイン体験を支える技術 〜Web Components x Vue.js 活用事例と最適化について〜
atsumim
0
1.1k
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
990
Jasprが凄い話
hyshu
0
170
データベースのオペレーターであるCloudNativePGがStatefulSetを使わない理由に迫る
nnaka2992
0
240
Formの複雑さに立ち向かう
bmthd
1
940
GoとPHPのインターフェイスの違い
shimabox
2
210
責務と認知負荷を整える! 抽象レベルを意識した関心の分離
yahiru
8
1.4k
15分で学ぶDuckDBの可愛い使い方 DuckDBの最近の更新
notrogue
3
540
『テスト書いた方が開発が早いじゃん』を解き明かす #phpcon_nagoya
o0h
PRO
9
2.5k
dbt Pythonモデルで実現するSnowflake活用術
trsnium
0
260
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.7k
Raft: Consensus for Rubyists
vanstee
137
6.8k
Navigating Team Friction
lara
183
15k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Faster Mobile Websites
deanohume
306
31k
Fontdeck: Realign not Redesign
paulrobertlloyd
83
5.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
Documentation Writing (for coders)
carmenintech
67
4.6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
A Tale of Four Properties
chriscoyier
158
23k
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!