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
66
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
140
The hitchhiker’s guide to databases with Python (from web point of view)
hotsyk
0
64
Advanced Postgres patterns and Django
hotsyk
6
260
Other Decks in Technology
See All in Technology
データの整合性を保ちたいだけなんだ
shoheimitani
8
3.1k
インフラエンジニア必見!Kubernetesを用いたクラウドネイティブ設計ポイント大全
daitak
1
360
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.4k
レガシー共有バッチ基盤への挑戦 - SREドリブンなリアーキテクチャリングの取り組み
tatsukoni
0
210
生成AIを活用した音声文字起こしシステムの2つの構築パターンについて
miu_crescent
PRO
2
190
AzureでのIaC - Bicep? Terraform? それ早く言ってよ会議
torumakabe
1
530
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
4
1.3k
茨城の思い出を振り返る ~CDKのセキュリティを添えて~ / 20260201 Mitsutoshi Matsuo
shift_evolve
PRO
1
260
Data Hubグループ 紹介資料
sansan33
PRO
0
2.7k
Bedrock PolicyでAmazon Bedrock Guardrails利用を強制してみた
yuu551
0
230
SREチームをどう作り、どう育てるか ― Findy横断SREのマネジメント
rvirus0817
0
230
モダンUIでフルサーバーレスなAIエージェントをAmplifyとCDKでサクッとデプロイしよう
minorun365
4
200
Featured
See All Featured
The Curse of the Amulet
leimatthew05
1
8.5k
The SEO identity crisis: Don't let AI make you average
varn
0
240
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Designing for Timeless Needs
cassininazir
0
130
Rebuilding a faster, lazier Slack
samanthasiow
85
9.4k
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
67
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.4k
Optimizing for Happiness
mojombo
379
71k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
430
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
WENDY [Excerpt]
tessaabrams
9
36k
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