Update mailer

This commit is contained in:
sfigato 2021-02-22 12:00:50 +01:00
parent e125c71c85
commit eb2e26e80a
Signed by: blallo
GPG Key ID: 0CBE577C9B72DC3F

View File

@ -124,7 +124,7 @@ clone:
steps: steps:
- name: notify_failure - name: notify_failure
pull: if-not-exists pull: if-not-exists
image: leophys/mailer:0.5 image: leophys/mailer:0.5-1
environment: environment:
M_SERVER_ADDRESS: M_SERVER_ADDRESS:
from_secret: m_server_address from_secret: m_server_address
@ -138,7 +138,7 @@ steps:
from_secret: m_to from_secret: m_to
M_SUB: "[electron-ozone] FAILURE" M_SUB: "[electron-ozone] FAILURE"
commands: commands:
- M_TEXT=$(cat /output/electron-ozone.log) /sendmail.sh - /sendmail.sh /output/electron-ozone.log
volumes: volumes:
- name: output - name: output
@ -279,7 +279,7 @@ clone:
steps: steps:
- name: notify_failure - name: notify_failure
pull: if-not-exists pull: if-not-exists
image: leophys/mailer:0.5 image: leophys/mailer:0.5-1
environment: environment:
M_SERVER_ADDRESS: M_SERVER_ADDRESS:
from_secret: m_server_address from_secret: m_server_address
@ -293,7 +293,7 @@ steps:
from_secret: m_to from_secret: m_to
M_SUB: "[discord_arch_electron] FAILURE" M_SUB: "[discord_arch_electron] FAILURE"
commands: commands:
- M_TEXT=$(cat /output/discord_arch_electron.log) /sendmail.sh - /sendmail.sh /output/discord_arch_electron.log
volumes: volumes:
- name: output - name: output
@ -318,7 +318,7 @@ clone:
steps: steps:
- name: notify_success - name: notify_success
pull: if-not-exists pull: if-not-exists
image: leophys/mailer:0.5 image: leophys/mailer:0.5-1
environment: environment:
M_SERVER_ADDRESS: M_SERVER_ADDRESS:
from_secret: m_server_address from_secret: m_server_address
@ -343,6 +343,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: 87f2576b3501113128d1a812e2305df70cbd18bbca913899cfdb990c16cd7591 hmac: 49f62c7898140d2cbf5b07f399e57b00d5cc9c69a4c1f431b1991a8fce689ac6
... ...