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
400
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
300
Other Decks in Technology
See All in Technology
スタートアップに選択肢を 〜生成AIを活用したセカンダリー事業への挑戦〜
nstock
0
270
Lufthansa ®️ USA Contact Numbers: Complete 2025 Support Guide
lufthanahelpsupport
0
220
データ基盤からデータベースまで?広がるユースケースのDatabricksについて教えるよ!
akuwano
3
140
QuickSight SPICE の効果的な運用戦略~S3 + Athena 構成での実践ノウハウ~/quicksight-spice-s3-athena-best-practices
emiki
0
160
United™️ Airlines®️ Customer®️ USA Contact Numbers: Complete 2025 Support Guide
flyunitedguide
0
550
改めてAWS WAFを振り返る~業務で使うためのポイント~
masakiokuda
2
310
How Do I Contact HP Printer Support? [Full 2025 Guide for U.S. Businesses]
harrry1211
0
130
衛星運用をソフトウェアエンジニアに依頼したときにできあがるもの
sankichi92
1
170
DatabricksにOLTPデータベース『Lakebase』がやってきた!
inoutk
0
140
モニタリング統一への道のり - 分散モニタリングツール統合のためのオブザーバビリティプロジェクト
niftycorp
PRO
1
130
TLSから見るSREの未来
atpons
2
110
OpenTelemetryセマンティック規約の恩恵とMackerel APMにおける活用例 / SRE NEXT 2025
mackerelio
2
920
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Docker and Python
trallard
44
3.5k
Raft: Consensus for Rubyists
vanstee
140
7k
Visualization
eitanlees
146
16k
jQuery: Nuts, Bolts and Bling
dougneiner
63
7.8k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
48
2.9k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Mobile First: as difficult as doing things right
swwweet
223
9.7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
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と比べて、それほどデメリットはないので、 開発効率を上げるために導入してみてはいかがでしょうか?