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
AIの全社活用を推進するための安全なレールを敷いた話
shoheimitani
2
550
データ基盤からデータベースまで?広がるユースケースのDatabricksについて教えるよ!
akuwano
3
130
Lazy application authentication with Tailscale
bluehatbrit
0
220
高速なプロダクト開発を実現、創業期から掲げるエンタープライズアーキテクチャ
kawauso
3
9.6k
品質と速度の両立:生成AI時代の品質保証アプローチ
odasho
1
390
United™️ Airlines®️ Customer®️ USA Contact Numbers: Complete 2025 Support Guide
flyunitedguide
0
240
ビジネス職が分析も担う事業部制組織でのデータ活用の仕組みづくり / Enabling Data Analytics in Business-Led Divisional Organizations
zaimy
0
130
Enhancing SaaS Product Reliability and Release Velocity through Optimized Testing Approach
ropqa
1
240
OpenTelemetryセマンティック規約の恩恵とMackerel APMにおける活用例 / SRE NEXT 2025
mackerelio
2
350
OSSのSNSツール「Misskey」をさわってみよう(右下ワイプで私のOSCの20年を振り返ります) / 20250705-osc2025-do
akkiesoft
0
170
クラウド開発の舞台裏とSRE文化の醸成 / SRE NEXT 2025 Lunch Session
kazeburo
1
240
【Oracle Cloud ウェビナー】インフラのプロフェッショナル集団KELが考えるOCIでのソリューション実現
oracle4engineer
PRO
1
100
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
69
11k
A Tale of Four Properties
chriscoyier
160
23k
BBQ
matthewcrist
89
9.7k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Code Reviewing Like a Champion
maltzj
524
40k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
RailsConf 2023
tenderlove
30
1.1k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
54k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.6k
The Art of Programming - Codeland 2020
erikaheidi
54
13k
How to train your dragon (web standard)
notwaldorf
96
6.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