forked from evolix/evobackup
CI: use ~/bkctld instead of /tmp
All checks were successful
continuous-integration/drone/tag Build is passing
All checks were successful
continuous-integration/drone/tag Build is passing
This commit is contained in:
parent
3150d48ba5
commit
720d6e13a4
|
@ -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/'
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
|
14
.drone.yml
14
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue