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
見えないメモリを観測する: PHP 8.4 `pg_result_memory_size()` とSQL結果のメモリ管理
kentaroutakeda
0
130
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
130
モバイルアプリにおける自動テストの導入戦略
ostk0069
0
110
menu基盤チームによるGoogle Cloudの活用事例~Application Integration, Cloud Tasks編~
yoshifumi_ishikura
0
110
CSC305 Lecture 26
javiergs
PRO
0
140
create_tableをしただけなのに〜囚われのuuid編〜
daisukeshinoku
0
240
数十万行のプロジェクトを Scala 2から3に完全移行した
xuwei_k
0
260
良いユニットテストを書こう
mototakatsu
5
1.9k
コンテナをたくさん詰め込んだシステムとランタイムの変化
makihiro
1
120
103 Early Hints
sugi_0000
1
220
今からはじめるAndroidアプリ開発 2024 / DevFest 2024
star_zero
0
1k
Featured
See All Featured
Speed Design
sergeychernyshev
25
670
Designing Experiences People Love
moore
138
23k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.9k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Optimising Largest Contentful Paint
csswizardry
33
3k
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.5k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
96
Fireside Chat
paigeccino
34
3.1k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
127
18k
Raft: Consensus for Rubyists
vanstee
137
6.7k
Docker and Python
trallard
42
3.1k
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!