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
How to provide automation platform
Search
tnir
December 12, 2017
Technology
1
62
How to provide automation platform
2017-12-12 SRE-SET Automation Night at Mericari Tokyo Office
tnir
December 12, 2017
Tweet
Share
More Decks by tnir
See All by tnir
Cloud Run & GKE Autopilot (late 2024)
tnir
0
20
A life with Rails 8.0 (beta)
tnir
0
84
Progressive Rails 8.1 (alpha) / progressive-rails-8-1
tnir
0
240
三代目CTO at stmn, inc. / CTO at stmn
tnir
1
6.3k
Teach programming with Postman 101
tnir
0
17
Cloud-agnostic Serverless built with GitLab
tnir
0
350
The Challenge at Contribute & Sessions from GitLab Contribute 2019 New Orleans
tnir
3
1.4k
The State of Docker: product and community
tnir
3
990
GitLab Overview & Version 12.x
tnir
2
3k
Other Decks in Technology
See All in Technology
管理者しか知らないOutlookの裏側のAIを覗く#AzureTravelers
hirotomotaguchi
2
240
トラシューアニマルになろう ~開発者だからこそできる、安定したサービス作りの秘訣~
jacopen
2
1.5k
Platform Engineeringは自由のめまい
nwiizo
4
1.9k
FastConnect の冗長性
ocise
1
9.6k
スクラムのイテレーションを導入してチームの雰囲気がより良くなった話
eccyun
0
110
エンジニアのためのドキュメント力基礎講座〜構造化思考から始めよう〜(2025/02/15jbug広島#15発表資料)
yasuoyasuo
15
5.5k
急成長する企業で作った、エンジニアが輝ける制度/ 20250214 Rinto Ikenoue
shift_evolve
2
880
転生CISOサバイバル・ガイド / CISO Career Transition Survival Guide
kanny
3
410
Developers Summit 2025 浅野卓也(13-B-7 LegalOn Technologies)
legalontechnologies
PRO
0
150
偶然 × 行動で人生の可能性を広げよう / Serendipity × Action: Discover Your Possibilities
ar_tama
1
740
Datadogとともにオブザーバビリティを布教しよう
mego2221
0
130
第13回 Data-Centric AI勉強会, 画像認識におけるData-centric AI
ksaito_osx
0
360
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Product Roadmaps are Hard
iamctodd
PRO
50
11k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
310
The Cult of Friendly URLs
andyhume
78
6.2k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
Designing for humans not robots
tammielis
250
25k
Done Done
chrislema
182
16k
Code Review Best Practice
trishagee
66
17k
Building Adaptive Systems
keathley
40
2.4k
Mobile First: as difficult as doing things right
swwweet
223
9.3k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
8
270
Transcript
Automation 基盤提供のしかた How to provide automation platform @tnir 2017-12-12 SRE-SET
Automation Night
@tnir (Takuya Noguchi) Software Engineer (Digital Transformation) Core Team member,
GitLab Kaimyacho.k8s & Prometheus Tokyo & Docker Meetup Tokyo Cloud Native Ambassador, CNCF 個人の見解です。 2
@tnir Tech PR/SWE/SRE, iRidge, Inc. 「 アイリッジ エンジニアリング」 3
Automation 4
Automation tools/platforms 5
History of my CI/CD experience CruiseControl (originated by ThoughtWorks) Jenkins
Travis CI/Circle CI air ow (Apache) Rundeck Digdag (Treasure Data) 6
Automation に必要なこと 7
1. 実行履歴が取れる 8
1. 実行履歴が取れる 誰が いつ ( 何のために?) 実行したか分かる cf. ChatOps をログを残さないように設計できてしま
うことがある ChatOps は人類には早すぎる 9
2. 実行タイミングを制御できる 10
2. 実行タイミングを制御できる 定期自動実行トリガー ( ナイトリー ビルド etc.) マニュアル実行トリガー イベントドリブン Git
commits, refs (tags, branches) 任意のWebhook 自動再実行 マニュアル再実行 11
3. 実行命令系との連携 12
3. 実行命令系との連携 コー ドとの連携 SCM (dev) Infrastructure as Code (ops)
ジョブと変数の分離 "The Twelve-Factor App-like Jobs" 13
GitLab CI/CD 14
GitLab CI/CD GitLab のためのCI ツー ルとしてGitLab CI という独 立ツー ルからスター
ト GitLab 本体へ統合 CD 機能を強化し、GitLab CI/CD としてリブランド YAML ファイル1 個のみで管理 SCM/ プロジェクトのパー ミッションモデルと同じ パー ミッションがそのまま使える 実行環境: フルコンテナ+macOS(Xcode)+Windows 15
GitLab CI/CD (cont'd) Kuberenetes support Cluster creation (beta) for Cloud-Native
App Environment management 1 ソー スを複数の環境にリリー ス Manual execution 実行可能者がレポジトリ権限と同じ 理想的にはRBAC が必要 16
社内への普及活動 17
社内への普及活動 1 時間ほどの社内勉強会 x2 + 社内情報共有システ ムでの共有で伝達 YAML なので簡単 マルチプラットフォー
ム 18
社内に普及した結果 全社でのビルド標準基盤 iOS ( xcodebuild -exportArchive ) Android アプリ (
gradlew ... ) の標準 非エンジニアへのアー ティファクト提供 Docker イメー ジビルド標準 docker build Ansible の実施 ansible-playbook ... Terraform の実施 terraform apply Kubernetes へのアプリケー ションデリバリの提供 kubectl apply 19
本当にいいの? 20
✔ 業務上は困ってない 21
✗ デザイン/ パフォー マンスに課題 22
✗ デザイン/ パフォー マンスに課題 改善MR (PR) を準備中... 23
他者との比較検討が必要 24
via Forrester Wave 25
ビジネスベー ス? だから信用したくない CI/CD 熱狂者としては他も探したい 26
27
人気OSS を評価する 2 年前に一度見て諦めたSpinnaker も1.0 が出たし再 評価してもいいかも。 Kubernetes の普及とともにConcourse CI
が再人気 上昇中? 28
Cloud Native Apps のための CI/CD 29
CNCF プロジェクトのためのCI/CD CNCF プロジェクトのためのワー キンググルー プ cncf/wg-ci: https://gitlab.cncf.ci/ 30
関連イベント 12/13 昼 GitLab Enterprise Edition セミナー https://connpass.com/event/72558/ 12/13 夜
GitLab Meetup Tokyo #6 https://gitlab-jp.connpass.com/event/73362/ 31
Wrap up 3 requirements for automation platform: 1. 実行履歴が取れる 2.
実行タイミングを制御できる 3. 実行命令系との連携 We've used GitLab CI/CD for years. I'm still looking for a new excellent tools for cloud native apps and intrastructure. 32
Thank you! 33