Fix logic
This commit is contained in:
parent
b18089c3a8
commit
9081248523
53
.drone.yml
53
.drone.yml
|
@ -1,3 +1,31 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: pre_clean
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
workspace:
|
||||
path: /drone
|
||||
|
||||
steps:
|
||||
- name: cache-init_electron-ozone
|
||||
pull: if-not-exists
|
||||
image: leophys/pikaur:0.3
|
||||
user: root
|
||||
commands:
|
||||
- rm -f /output/lock
|
||||
volumes:
|
||||
- name: output
|
||||
path: /output
|
||||
|
||||
volumes:
|
||||
- name: output
|
||||
host:
|
||||
path: /var/builds/archlinux/output
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
@ -136,6 +164,9 @@ trigger:
|
|||
- push
|
||||
- cron
|
||||
|
||||
depends_on:
|
||||
- pre_clean
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
@ -162,6 +193,15 @@ steps:
|
|||
M_SUB: "[electron-ozone] FAILURE"
|
||||
commands:
|
||||
- /sendmail.sh /output/electron-ozone.log
|
||||
volumes:
|
||||
- name: output
|
||||
path: /output
|
||||
|
||||
- name: clean_lock
|
||||
pull: if-not-exists
|
||||
image: leophys/pikaur:0.3
|
||||
user: root
|
||||
commands:
|
||||
- rm -f /output/lock
|
||||
volumes:
|
||||
- name: output
|
||||
|
@ -318,6 +358,9 @@ trigger:
|
|||
- push
|
||||
- cron
|
||||
|
||||
depends_on:
|
||||
- pre_clean
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
@ -344,11 +387,21 @@ steps:
|
|||
M_SUB: "[discord_arch_electron] FAILURE"
|
||||
commands:
|
||||
- /sendmail.sh /output/discord_arch_electron.log
|
||||
volumes:
|
||||
- name: output
|
||||
path: /output
|
||||
|
||||
- name: clean_lock
|
||||
pull: if-not-exists
|
||||
image: leophys/pikaur:0.3
|
||||
user: root
|
||||
commands:
|
||||
- rm -f /output/lock
|
||||
volumes:
|
||||
- name: output
|
||||
path: /output
|
||||
|
||||
|
||||
volumes:
|
||||
- name: output
|
||||
host:
|
||||
|
|
Loading…
Reference in New Issue
Block a user