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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Kento Takano
March 14, 2019
Technology
0
420
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
340
Other Decks in Technology
See All in Technology
Phase07_実務適用
overflowinc
0
1.7k
FastMCP OAuth Proxy with Cognito
hironobuiga
3
180
スピンアウト講座03_CLAUDE-MDとSKILL-MD
overflowinc
0
1.2k
ReactのdangerouslySetInnerHTMLは“dangerously”だから危険 / Security.any #09 卒業したいセキュリティLT
flatt_security
0
480
コンテキスト・ハーネスエンジニアリングの現在
hirosatogamo
PRO
6
790
AWS Systems Managerのハイブリッドアクティベーションを使用したガバメントクラウド環境の統合管理
toru_kubota
0
150
イベントで大活躍する電子ペーパー名札を作る(その2) 〜 M5PaperとM5PaperS3 〜 / IoTLT @ JLCPCB オープンハードカンファレンス
you
PRO
0
200
_Architecture_Modernization_から学ぶ現状理解から設計への道のり.pdf
satohjohn
2
740
Blue/Green Deployment を用いた PostgreSQL のメジャーバージョンアップ
kkato1
0
120
Astro Islandsの 内部実装を 「日本で一番わかりやすく」 ざっくり解説!
knj
1
250
夢の無限スパゲッティ製造機 #phperkaigi
o0h
PRO
0
350
Phase11_戦略的AI経営
overflowinc
0
1.4k
Featured
See All Featured
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
250
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
250
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Utilizing Notion as your number one productivity tool
mfonobong
4
270
Exploring anti-patterns in Rails
aemeredith
2
290
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
150
Facilitating Awesome Meetings
lara
57
6.8k
My Coaching Mixtape
mlcsv
0
84
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
990
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
A Modern Web Designer's Workflow
chriscoyier
698
190k
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と比べて、それほどデメリットはないので、 開発効率を上げるために導入してみてはいかがでしょうか?