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
64
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
AIエージェント開発用SDKとローカルLLMをLINE Botと組み合わせてみた / LINEを使ったLT大会 #14
you
PRO
0
130
Codeful Serverless / 一人運用でもやり抜く力
_kensh
7
450
LLM時代のパフォーマンスチューニング:MongoDB運用で試したコンテキスト活用の工夫
ishikawa_pro
0
170
新アイテムをどう使っていくか?みんなであーだこーだ言ってみよう / 20250911-rpi-jam-tokyo
akkiesoft
0
350
「その開発、認知負荷高すぎませんか?」Platform Engineeringで始める開発者体験カイゼン術
sansantech
PRO
2
870
Django's GeneratedField by example - DjangoCon US 2025
pauloxnet
0
160
未経験者・初心者に贈る!40分でわかるAndroidアプリ開発の今と大事なポイント
operando
6
750
初めてAWSを使うときのセキュリティ覚書〜初心者支部編〜
cmusudakeisuke
1
280
共有と分離 - Compose Multiplatform "本番導入" の設計指針
error96num
2
1.2k
株式会社ログラス - 会社説明資料【エンジニア】/ Loglass Engineer
loglass2019
4
65k
新規プロダクトでプロトタイプから正式リリースまでNext.jsで開発したリアル
kawanoriku0
1
220
要件定義・デザインフェーズでもAIを活用して、コミュニケーションの密度を高める
kazukihayase
0
120
Featured
See All Featured
Designing Experiences People Love
moore
142
24k
Statistics for Hackers
jakevdp
799
220k
Balancing Empowerment & Direction
lara
3
620
Designing for Performance
lara
610
69k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
131
19k
Thoughts on Productivity
jonyablonski
70
4.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.9k
Gamification - CAS2011
davidbonilla
81
5.4k
Raft: Consensus for Rubyists
vanstee
140
7.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.7k
Unsuck your backbone
ammeep
671
58k
Documentation Writing (for coders)
carmenintech
74
5k
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