forked from evolix/evobackup
12e8d79d1c
All checks were successful
continuous-integration/drone/push Build is passing
The current build is limited to the debian branch (so it’s a no-op), but CI should be extended to more than building packages. Furthermore, providing files outside debian/ on a debian branch is going to confuse gbp otherwise.
42 lines
671 B
YAML
42 lines
671 B
YAML
kind: pipeline
|
|
name: default
|
|
|
|
steps:
|
|
- name: build debian package
|
|
image: evolix/gbp:latest
|
|
branches:
|
|
- debian
|
|
commands:
|
|
- mk-build-deps --install --remove debian/control
|
|
- git clean --force
|
|
- 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/bkctld/
|
|
source: /tmp/bkctld/
|
|
delete: true
|
|
volumes:
|
|
- name: tmp
|
|
path: /tmp
|
|
when:
|
|
branch:
|
|
- debian
|
|
|
|
volumes:
|
|
- name: tmp
|
|
host:
|
|
path: /tmp
|