CI: Don’t rely on /tmp
/tmp is mounted noexec, so can’t be used to run scripts.
This commit is contained in:
parent
70790cd6bb
commit
6071d5973c
13
.drone.yml
13
.drone.yml
|
@ -14,9 +14,6 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- mk-build-deps --install --remove debian/control
|
- mk-build-deps --install --remove debian/control
|
||||||
- gbp buildpackage -us -uc
|
- gbp buildpackage -us -uc
|
||||||
volumes:
|
|
||||||
- name: tmp
|
|
||||||
path: /tmp
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- debian
|
- debian
|
||||||
|
@ -30,16 +27,8 @@ steps:
|
||||||
key:
|
key:
|
||||||
from_secret: drone_private_key
|
from_secret: drone_private_key
|
||||||
target: /home/droneci/evoadmin-mail/
|
target: /home/droneci/evoadmin-mail/
|
||||||
source: /tmp/evoadmin-mail/
|
source: ../evoadmin-mail*
|
||||||
delete: true
|
delete: true
|
||||||
volumes:
|
|
||||||
- name: tmp
|
|
||||||
path: /tmp
|
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- debian
|
- debian
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: tmp
|
|
||||||
host:
|
|
||||||
path: /tmp
|
|
||||||
|
|
Loading…
Reference in a new issue