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 { agent {
docker { docker {
image 'evolix/gbp:bullseye' image 'evolix/gbp:bullseye'
args '-u root --privileged -v /tmp:/tmp' args '-u root --privileged -v ~/bkctld:/root/bkctld'
} }
} }
when { when {
@ -30,7 +30,7 @@ pipeline {
script { script {
sh 'echo Dummy line to remove once something actually happens.' sh 'echo Dummy line to remove once something actually happens.'
/* No crendentials yet /* 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 - git clean --force
- gbp buildpackage -us -uc - gbp buildpackage -us -uc
volumes: volumes:
- name: tmp - name: bkctld
path: /tmp path: ~/bkctld
when: when:
branch: branch:
- debian - debian
@ -31,16 +31,16 @@ steps:
key: key:
from_secret: drone_private_key from_secret: drone_private_key
target: /home/droneci/bkctld/ target: /home/droneci/bkctld/
source: /tmp/bkctld/ source: ~/bkctld/
delete: true delete: true
volumes: volumes:
- name: tmp - name: bkctld
path: /tmp path: ~/bkctld
when: when:
branch: branch:
- debian - debian
volumes: volumes:
- name: tmp - name: bkctld
host: host:
path: /tmp path: ~/bkctld