evobackup/.drone.yml
David Prevot 12e8d79d1c
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Include CI upstream
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.
2022-05-03 14:54:24 +02:00

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