CI: use ~/bkctld instead of /tmp
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
David Prevot 2022-06-29 10:59:44 +02:00
parent 3150d48ba5
commit 720d6e13a4
2 changed files with 9 additions and 9 deletions

View file

@ -5,7 +5,7 @@ pipeline {
agent {
docker {
image 'evolix/gbp:bullseye'
args '-u root --privileged -v /tmp:/tmp'
args '-u root --privileged -v ~/bkctld:/root/bkctld'
}
}
when {
@ -30,7 +30,7 @@ pipeline {
script {
sh 'echo Dummy line to remove once something actually happens.'
/* No crendentials yet
sh 'rsync -avP /tmp/bkctld/ droneci@pub.evolix.net:/home/droneci/bkctld/'
sh 'rsync -avP ~/bkctld/ droneci@pub.evolix.net:/home/droneci/bkctld/'
*/
}
}

View file

@ -16,8 +16,8 @@ steps:
- git clean --force
- gbp buildpackage -us -uc
volumes:
- name: tmp
path: /tmp
- name: bkctld
path: ~/bkctld
when:
branch:
- debian
@ -31,16 +31,16 @@ steps:
key:
from_secret: drone_private_key
target: /home/droneci/bkctld/
source: /tmp/bkctld/
source: ~/bkctld/
delete: true
volumes:
- name: tmp
path: /tmp
- name: bkctld
path: ~/bkctld
when:
branch:
- debian
volumes:
- name: tmp
- name: bkctld
host:
path: /tmp
path: ~/bkctld