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
420
0
Share
Drone.ioでテスト自動化
Jenkins運用でストレスが溜まったので、Drone.ioとかモダンなものを広めるために作成した資料。
Kento Takano
March 14, 2019
More Decks by Kento Takano
See All by Kento Takano
AWS IAM概要
kento75
0
350
Other Decks in Technology
See All in Technology
Do Ruby::Box dream of Modular Monolith?
joker1007
1
300
こんなアーキテクチャ図はいやだ / Anti-pattern in AWS Architecture Diagrams
naospon
1
400
Bill One 開発エンジニア 紹介資料
sansan33
PRO
6
18k
The Journey of Box Building
tagomoris
4
300
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.3k
ワールドカフェI /チューターを改良する / World Café I and Improving the Tutors
ks91
PRO
0
250
最初の一歩を踏み出せなかった私が、誰かの背中を押したいと思うようになるまで / give someone a push
mii3king
0
150
明日からドヤれる!超マニアックなAWSセキュリティTips10連発 / 10 Ultra-Niche AWS Security Tips
yuj1osm
0
520
AWS DevOps Agentはチームメイトになれるのか?/ Can AWS DevOps Agent become a teammate
kinunori
6
660
Introduction to Sansan Meishi Maker Development Engineer
sansan33
PRO
0
390
Introduction to Bill One Development Engineer
sansan33
PRO
0
410
ハーネスエンジニアリングをやりすぎた話 ~そのハーネスは解体された~
gotalab555
0
400
Featured
See All Featured
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.6k
30 Presentation Tips
portentint
PRO
1
270
The SEO identity crisis: Don't let AI make you average
varn
0
440
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
160
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
100
BBQ
matthewcrist
89
10k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
54k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
170
Become a Pro
speakerdeck
PRO
31
5.9k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
170
The Cost Of JavaScript in 2023
addyosmani
55
9.8k
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と比べて、それほどデメリットはないので、 開発効率を上げるために導入してみてはいかがでしょうか?