Include CI upstream
All checks were successful
continuous-integration/drone/pr Build is passing
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.
This commit is contained in:
David Prevot 2022-05-03 14:54:21 +02:00
parent ff02816538
commit 12e8d79d1c

41
.drone.yml Normal file
View file

@ -0,0 +1,41 @@
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