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
OSS drone
Search
kbaba1001
March 26, 2015
Technology
0
100
OSS drone
社内勉強会でOSS版droneについて発表した際のスライド。
kbaba1001
March 26, 2015
Tweet
Share
More Decks by kbaba1001
See All by kbaba1001
Lume: Static Site Generator
kbaba1001
0
250
React_2023
kbaba1001
0
99
Word Penne
kbaba1001
0
96
I live by using a minor language
kbaba1001
0
100
fast optical line
kbaba1001
0
300
ArtPosePro and Procreate
kbaba1001
1
110
How did Clojure change my life
kbaba1001
3
1.6k
The Pragmatic Hanami
kbaba1001
0
1.8k
Recent writing of my Rails
kbaba1001
2
500
Other Decks in Technology
See All in Technology
ビジネスとコード品質の接合点 そしてコード品質がそこに及ぼす影響 / The Intersections of Business and Engineering, and The Impact of Code Quality There
mtx2s
10
1k
オーティファイ会社紹介資料 / Autify Company Deck
autifyhq
7
100k
継続的テストモデルを実現するためにスリーアミーゴスを用いた10Xでのシフトレフトの事例
nihonbuson
3
150
Skaffoldを用いたGKEアプリケーションの CD(Continuous Development)
kojake_300
1
230
Autopsy of a Cascading Outage from a MySQL Crashing Bug
jfg956
0
200
任意コード実行の原理
ffri
0
170
実務への応用例から考える 変更に強いオブジェクト指向設計 / 20240324-ooc2024
bengo4com
7
5k
私のRSpecの書き方 / How I write RSpec
tmtms
4
820
マイクロサービス環境におけるDB戦略 in DMMプラットフォーム
pospome
11
3k
Elementaryを用いたデータ品質の可視化とデータ基盤の運用改善
10xinc
6
1.4k
中央集権体制からDataOpsへの転換 / centralized-to-dataops-transformation
pei0804
7
1.4k
プッシュ型子育てサービスを、先行プロジェクト実施自治体において開始します
govtechtokyo
0
240
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
130
6.2k
For a Future-Friendly Web
brad_frost
170
8.9k
Embracing the Ebb and Flow
colly
78
4.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.8k
Six Lessons from altMBA
skipperchong
19
2.9k
Testing 201, or: Great Expectations
jmmastey
27
6.3k
A Philosophy of Restraint
colly
195
15k
Why Our Code Smells
bkeepers
PRO
330
56k
Fireside Chat
paigeccino
19
2.6k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
352
28k
Building a Scalable Design System with Sketch
lauravandoore
455
32k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3k
Transcript
OSS版drone OSS版drone @kbaba1001 Powered by Rabbit 2.1.6 and COZMIXNG
自己紹介 馬場(kbaba1001) 3年目
今日の話
OSS 版 drone
動機 Jenkins が辛い …
droneの特徴 Go docker インストールが簡単
インストール方法 drone の deb 、 rpm を使う docker.io と sqlite3
(デフォル ト)
インストールコマンド sudo apt-get install libsqlite3-dev docker.io wget downloads.drone.io/master/drone.deb sudo dpkg
--install drone.deb sudo start drone
これだけで起動する
ビルド方法 GitHub 等から Web Hook .drone.yml docker コンテナ
連携可能なサービス * GitHub * GitHub Enterprise * Gitlab * Gogs
* Bitbucket
githubの例 http://readme.drone.io/setup/
droneでの設定 /etc/drone/drone.toml [github] client = "c0aaff74c060ff4a950d" secret = "1ac1eae5ff1b490892f5546f837f306265032412"
githubのOAuth
リポジトリのActivate
リポジトリのActivate Web Hook を自動登録 push や pull request でビルド .drone.yml
.drone.yml image: ruby2.0.0 services: - postgres script: - mkdir -p
/tmp/bundle - sudo chown -R ubuntu:ubuntu /tmp/bundle - gem update bundler - bundle install -j4 --path /tmp/bundle - cp config/database_drone.yml.example config/database.yml - bundle exec rake db:create db:migrate spec cache: - /tmp/bundle
docker コンテナ docker pull bradrydzewski/ubuntu docker pull bradrydzewski/base docker pull
bradrydzewski/ruby:2.0.0
公式のイメージ
言語 clojure, dart, erlang, c/c++, go, haskell, java, node, php,
python, ruby, scala
DB mysql, postgres, mongodb, cassandra, couchdb, elasticsearch, neo4j, rabbitmq, redis,
riak, zookeeper
その他 無いものは Dockerfile を書く!!
感想 drone は導入が楽 docker 便利 今風で楽しい
おわり Powered by Rabbit 2.1.6 and COZMIXNG