Add logs in error mail
This commit is contained in:
parent
65a33f80f3
commit
1b966c08d5
30
.drone.yml
30
.drone.yml
|
@ -71,7 +71,7 @@ steps:
|
|||
pull: if-not-exists
|
||||
image: leophys/pikaur:0.2
|
||||
commands:
|
||||
- /usr/bin/pikaur -Sy --noconfirm electron-ozone
|
||||
- /usr/bin/pikaur -Sy --noconfirm electron-ozone|tee /output/electron-ozone.log
|
||||
volumes:
|
||||
- name: build_electron-ozone
|
||||
path: /build
|
||||
|
@ -83,6 +83,8 @@ steps:
|
|||
path: /var
|
||||
- name: usr_electron-ozone
|
||||
path: /usr
|
||||
- name: output
|
||||
path: /output
|
||||
|
||||
volumes:
|
||||
- name: build_electron-ozone
|
||||
|
@ -100,6 +102,9 @@ volumes:
|
|||
- name: usr_electron-ozone
|
||||
host:
|
||||
path: /var/builds/archlinux/usr/electron-ozone
|
||||
- name: output
|
||||
host:
|
||||
path: /var/builds/archlinux/output
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
@ -132,7 +137,13 @@ steps:
|
|||
M_TO:
|
||||
from_secret: m_to
|
||||
M_SUB: "[electron-ozone] FAILURE"
|
||||
M_TEXT: "Failed building electron-ozone"
|
||||
commands:
|
||||
- M_TEXT=$(cat /output/electron-ozone.log) /sendmail.sh
|
||||
|
||||
volumes:
|
||||
- name: output
|
||||
host:
|
||||
path: /var/builds/archlinux/output
|
||||
|
||||
trigger:
|
||||
status:
|
||||
|
@ -215,7 +226,7 @@ steps:
|
|||
pull: if-not-exists
|
||||
image: leophys/pikaur:0.2
|
||||
commands:
|
||||
- /usr/bin/pikaur -Sy --noconfirm discord_arch_electron
|
||||
- /usr/bin/pikaur -Sy --noconfirm discord_arch_electron|tee /output/discord_arch_electron.log
|
||||
volumes:
|
||||
- name: build_discord_arch_electron
|
||||
path: /build
|
||||
|
@ -227,6 +238,8 @@ steps:
|
|||
path: /var
|
||||
- name: usr_discord_arch_electron
|
||||
path: /usr
|
||||
- name: output
|
||||
path: /output
|
||||
|
||||
volumes:
|
||||
- name: build_discord_arch_electron
|
||||
|
@ -244,6 +257,9 @@ volumes:
|
|||
- name: usr_discord_arch_electron
|
||||
host:
|
||||
path: /var/builds/archlinux/usr/discord_arch_electron
|
||||
- name: output
|
||||
host:
|
||||
path: /var/builds/archlinux/output
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
@ -276,7 +292,13 @@ steps:
|
|||
M_TO:
|
||||
from_secret: m_to
|
||||
M_SUB: "[discord_arch_electron] FAILURE"
|
||||
M_TEXT: "Failed building discord_arch_electron"
|
||||
commands:
|
||||
- M_TEXT=$(cat /output/discord_arch_electron.log) /sendmail.sh
|
||||
|
||||
volumes:
|
||||
- name: output
|
||||
host:
|
||||
path: /var/builds/archlinux/output
|
||||
|
||||
trigger:
|
||||
status:
|
||||
|
|
Loading…
Reference in New Issue
Block a user