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
430
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Drone.ioでテスト自動化
Jenkins運用でストレスが溜まったので、Drone.ioとかモダンなものを広めるために作成した資料。
Kento Takano
March 14, 2019
More Decks by Kento Takano
See All by Kento Takano
AWS IAM概要
kento75
0
370
Other Decks in Technology
See All in Technology
EUDIWの枠組みを出発点に民間エコシステムの在り方を考える(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
340
Claude Codeで開発以外の業務も爆速化しよう!
minorun365
PRO
10
8.9k
dbt in Microsoft Fabric
ryomaru0825
0
300
500名弱規模の組織のPythonプロジェクト(dbt) をどう管理するか?
hiracky16
0
360
hookで自作する Claude Code の「実況ボード」
shinyasaita
2
220
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
54k
AIエージェントのためのデータ設計
daiz21
0
520
IHV like なユースケースへのOpenID Connect 関連仕様の適用事例
optim
0
350
APIセキュリティを組織で実現するには~注力する点と設計・実装に入れたい対策~
riiimparm
2
690
DMMブックスのNext.js化を加速させるAI活用 / Migrating DMM Books to Next.js with AI
kentarom
0
150
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
20k
マイナンバーカード本人確認の実装比較(OAuth/OIDC Numa (Immersion) Workshop 2026) / 20260825 numa-12
oidfj
PRO
0
330
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
28
2.7k
A designer walks into a library…
pauljervisheath
211
24k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
65
57k
Bash Introduction
62gerente
615
220k
Technical Leadership for Architectural Decision Making
baasie
3
540
The untapped power of vector embeddings
frankvandijk
2
1.8k
Believing is Seeing
oripsolob
1
200
Prompt Engineering for Job Search
mfonobong
0
420
4 Signs Your Business is Dying
shpigford
187
23k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
260
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
240
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と比べて、それほどデメリットはないので、 開発効率を上げるために導入してみてはいかがでしょうか?