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 as CI and deployment for python projects
Search
Volodymyr Hotsyk
June 07, 2014
Technology
0
63
Drone as CI and deployment for python projects
Slides from the talks on Kyiv.py#12
Volodymyr Hotsyk
June 07, 2014
Tweet
Share
More Decks by Volodymyr Hotsyk
See All by Volodymyr Hotsyk
Django + Postgres = ?
hotsyk
5
210
Are you Postgres yet?
hotsyk
0
110
PyCon Ukraine 2014 review
hotsyk
0
140
Python 101
hotsyk
0
130
The hitchhiker’s guide to databases with Python (from web point of view)
hotsyk
0
63
Advanced Postgres patterns and Django
hotsyk
6
260
Other Decks in Technology
See All in Technology
✨敗北解法コレクション✨〜Expertだった頃に足りなかった知識と技術〜
nanachi
1
690
React Server ComponentsでAPI不要の開発体験
polidog
PRO
0
220
LLMで構造化出力の成功率をグンと上げる方法
keisuketakiguchi
0
800
形式手法特論:位相空間としての並行プログラミング #kernelvm / Kernel VM Study Tokyo 18th
ytaka23
3
1.3k
「Roblox」の開発環境とその効率化 ~DAU9700万人超の巨大プラットフォームの開発 事始め~
keitatanji
0
120
Agent Development Kitで始める生成 AI エージェント実践開発
danishi
0
150
ZOZOTOWNの大規模マーケティングメール配信を支えるアーキテクチャ
zozotech
PRO
0
270
Backlog AI アシスタントが切り開く未来
vvatanabe
1
130
「AIと一緒にやる」が当たり前になるまでの奮闘記
kakehashi
PRO
3
140
生成AI時代におけるAI・機械学習技術を用いたプロダクト開発の深化と進化 #BetAIDay
layerx
PRO
1
1.2k
【新卒研修資料】数理最適化 / Mathematical Optimization
brainpadpr
27
13k
Intro to Software Startups: Spring 2025
arnabdotorg
0
250
Featured
See All Featured
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
800
Designing for Performance
lara
610
69k
How to Ace a Technical Interview
jacobian
278
23k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.3k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Fireside Chat
paigeccino
38
3.6k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Rails Girls Zürich Keynote
gr2m
95
14k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Statistics for Hackers
jakevdp
799
220k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Transcript
Drone as CI and deployment for python projects Volodymyr Hotsyk,
Kyiv.py#12 June 7, 2014
Drone.io • Drone is a Continuous Integration platform built on
Docker, written in Go • https://github.com/drone/drone
Why Drone • Easy to install • Open source •
Run builds locally inside Docker containers • GitHub, Bitbucket, GitLab integration • No Java needed • No Java needed
Docker • Docker is an open-source engine that automates the
deployment of any application as a lightweight, portable, self-sufficient container that will run virtually anywhere. • www.docker.io
Installation $ wget http://downloads.drone.io/latest/drone.deb! $ sudo dpkg -i drone.deb! $
sudo start drone ! external dependency: Docker (0.8+) https://github.com/drone/drone#setup
Start and configure
Connect with GitHub
Create app in GitHub
Create repo in Drone
Simple Django app project • github.com/hotsyk/drone-test
Config file image: python2.7! env:! - GOPATH=/var/cache/drone! script:! - make
bootstrap! - make test! services:! - redis! - postgres! - dockerfile/nginx! deploy:! bash:! script:! - make deploy! notify:! email:! recipients:! -
[email protected]
First build
Successful build
• Builtin services: cassandra, couchdb, elasticsearch, neo4j, mongodb, mysql, postgres,
rabbitmq, redis, riak, zookeeper • Custom services: any docker container services: - dockerfile/rethinkdb # same as dockerfile/rethinkdb:latest - barnybug/elasticsearch:1.0.1 • Builtin deployment options: Amazon S3, OpenStack Swift, Cloud Foundry, Git, Bash, Heroku, Modulus, Nodejitsu, Tsuru Other options
Drone-Wall https://github.com/drone/drone-wall
Questions? • github.com/hotsyk • stuff.hotsyk.com/Talks/drone-presentation