Add DroneCI config for auto build Debian package
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
dfdbce74fa
commit
737d6b96dd
36
.drone.yml
36
.drone.yml
|
@ -17,3 +17,39 @@ steps:
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
||||||
|
- name: build debian package
|
||||||
|
image: evolix/gbp:latest
|
||||||
|
branches:
|
||||||
|
- debian
|
||||||
|
commands:
|
||||||
|
- mk-build-deps --install --remove debian/control
|
||||||
|
- gbp buildpackage
|
||||||
|
volumes:
|
||||||
|
- name: tmp
|
||||||
|
path: /tmp
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- debian
|
||||||
|
|
||||||
|
- name: upload debian package
|
||||||
|
image: drillster/drone-rsync
|
||||||
|
settings:
|
||||||
|
hosts: ["pub.evolix.net"]
|
||||||
|
port: 22
|
||||||
|
user: droneci
|
||||||
|
key:
|
||||||
|
from_secret: drone_private_key
|
||||||
|
target: /home/droneci/errors-pages/
|
||||||
|
source: /tmp/errors-pages/
|
||||||
|
delete: true
|
||||||
|
volumes:
|
||||||
|
- name: tmp
|
||||||
|
path: /tmp
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- debian
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: tmp
|
||||||
|
temp: {}
|
||||||
|
|
Loading…
Reference in a new issue