evobackup/.drone.yml
David Prevot 736207a376
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
gitea.evolix.org on plain agent00/evobackup/pipeline/head This commit looks good
test dprevot/evobackup/pipeline/head This commit looks good
gitea.evolix.org/evobackup/pipeline/head This commit looks good
Drone CI: don’t sign packages (yet?)
2022-06-28 15:11:25 +02:00

48 lines
768 B
YAML

kind: pipeline
name: default
steps:
- name: fetch
image: alpine/git
commands:
- git fetch --tags
- name: build debian package
image: evolix/gbp:bullseye
branches:
- wip-debian
commands:
- whoami
- mk-build-deps --install --remove debian/control
- git clean --force
- gbp buildpackage -us -uc
volumes:
- name: tmp
path: /tmp
when:
branch:
- wip-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