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
54
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
200
Are you Postgres yet?
hotsyk
0
93
PyCon Ukraine 2014 review
hotsyk
0
97
Python 101
hotsyk
0
110
The hitchhiker’s guide to databases with Python (from web point of view)
hotsyk
0
51
Advanced Postgres patterns and Django
hotsyk
6
260
Other Decks in Technology
See All in Technology
Python と Snowflake はズッ友だょ!~ Snowflake の Python 関連機能をふりかえる ~
__allllllllez__
2
140
.NET Profiler in 2024.
kkamegawa
2
610
非同期推論システムによるコスト削減と信頼性向上
koki_nishihara
0
310
競技としてのKaggle、役に立つKaggle
yu4u
6
2.2k
Google Cloud Next '24 Recap(Cloud Run/k8s)
mokocm
0
290
Kernel MemoryでAzure OpenAI Serviceとお手軽データソース連携
mitsuzono
1
270
【NW X Security JAWS#3】L3-4:AWS環境のIPv6移行に向けて知っておきたいこと
shotashiratori
1
580
IaCジェネレーターとBedrockで詳細設計書を生成してみた
tsukasa_ishimaru
4
810
VS CodeでAWSを操作しよう
smt7174
9
1.9k
障害対応をちょっとずつよくしていくための 演習の作りかた
heleeen
1
890
On Your Data を超えていく!
hirotomotaguchi
2
730
Cypress or Playwright?
rainerhahnekamp
0
150
Featured
See All Featured
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
275
13k
Building Better People: How to give real-time feedback that sticks.
wjessup
356
18k
How GitHub (no longer) Works
holman
305
140k
Into the Great Unknown - MozCon
thekraken
13
1k
Writing Fast Ruby
sferik
622
60k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
Stop Working from a Prison Cell
hatefulcrawdad
267
19k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
The Illustrated Children's Guide to Kubernetes
chrisshort
32
46k
A Philosophy of Restraint
colly
197
16k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
4
3.4k
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