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
Drone.ioでテスト自動化
Search
Kento Takano
March 14, 2019
Technology
0
410
Drone.ioでテスト自動化
Jenkins運用でストレスが溜まったので、Drone.ioとかモダンなものを広めるために作成した資料。
Kento Takano
March 14, 2019
Tweet
Share
More Decks by Kento Takano
See All by Kento Takano
AWS IAM概要
kento75
0
320
Other Decks in Technology
See All in Technology
X-Ray SDKとDaemonのサポート終了と移⾏ガイド
o11yfes2023
0
120
Flutterで実装する実践的な攻撃対策とセキュリティ向上
fujikinaga
2
420
ソフトウェア開発現代史: 55%が変化に備えていない現実 ─ AI支援型開発時代のReboot Japan #agilejapan
takabow
7
4.2k
第65回コンピュータビジョン勉強会
tsukamotokenji
0
150
自己的售票系統自己做!
eddie
0
450
アジャイル社内普及ご近所さんマップを作ろう / Let's create an agile neighborhood map
psj59129
1
130
[mercari GEARS 2025] なぜメルカリはノーコードを選ばなかったのか? 社内問い合わせ工数を60%削減したLLM活用の裏側
mercari
PRO
0
110
ABEJA FIRST GUIDE for Software Engineers
abeja
0
3.2k
「もっと正確に、もっと効率的に」ANDPADの写真書き込み機能における、 現場の声を形にしたエンハンス
andpad
0
110
“それなりに”安全なWebアプリケーションの作り方
xryuseix
0
380
米軍Platform One / Black Pearlに学ぶ極限環境DevSecOps
jyoshise
1
390
AIでテストプロセスを自動化しよう251113.pdf
sakatakazunori
0
150
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
54
7.9k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
11
930
Building Flexible Design Systems
yeseniaperezcruz
329
39k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.6k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.3k
Navigating Team Friction
lara
190
15k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.2k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
670
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Transcript
Drone.io でテスト自動化 2019.03.16 Kento Takano
自己紹介 Kento Takano(@Kento75) ・自称フロントエンドエンジニア ・好きな言語 → React.js ・好きなクラウド → GCP
・好きな女優 → 新垣結衣 Blog → https://overreact.tk Twitter → https://twitter.com/Kento751 Github → https://github.com/Kento75
Drone.io とは? ・いわゆる CI as a Service のこと(オンプレ版もある) ・Github、Gitlab、Bitbucket etc...対応
・YAMLでテスト、デプロイ設定を記述できる ・Circle CI、Travis CI と同様に都度、環境をクリーンする ・ビルドごとに独立したDocker Containerを立ててCI/CDを実行する https://drone.io/
Jenkinsでつらいこと(つらかったこと) ・作った人以外、誰も触れない ・スレーブサーバの環境が壊れることがある(主観) ・ビルド実行用の古いshellが残っていて管理しきれない ・バージョンアップで、ジョブが壊れることがある ・使えば使うほど汚れていく(メンテ大変)
Drone.io のいいところ ・構築は、公式のDocker Image があるので簡単 ・設定ファイルがYAML 1ファイルのみ ・スレーブサーバでのテストは、常にDockerを使用 ・使用するDocker Image
は自由に選択できる ・Jenkinsと同じく、オンプレは無料
Drone.io と AWS を使用してできるCI/CD push マスタ スレーブ AWS etc... デプロイ
テスト webhook テスト結果通知 GitLabからのwebhook、Docker内でのテスト、S3等へのデプロイ、Slackへ のテスト結果通知のフローを構築できる!
Drone.io ではできないこと ・SaaS版Drone.ioでは、Linux の Docker Image しかサポートしていない Windows、Mac OSのDocker Image
を使えない ・オンプレ版の場合、マスタもDockerでの運用となるため、 T2.microでの動作はきつい Jenkinsと比べて、それほどデメリットはないので、 開発効率を上げるために導入してみてはいかがでしょうか?