diff options
author | Chris Evich <cevich@redhat.com> | 2022-01-24 14:37:57 -0500 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2022-01-24 15:41:50 -0500 |
commit | 29e89da1a26c692ea5375674ea79fe0841e810b0 (patch) | |
tree | 56fc13eb74fa6153ccff6d6e595dacd59e2f765b /contrib | |
parent | b75d6baf074a61f2119b8619c86bd2fae1cb2833 (diff) | |
download | podman-29e89da1a26c692ea5375674ea79fe0841e810b0.tar.gz podman-29e89da1a26c692ea5375674ea79fe0841e810b0.tar.bz2 podman-29e89da1a26c692ea5375674ea79fe0841e810b0.zip |
Github workflow: Send e-mail on job error
This job is designed to be silent when Cirrus-cron executions pass.
Unless specifically instructed, the workflow itself will also remain
silent if there's an error. Fix this by catching workflow errors and
sending a notification e-mail containing a link to the failed run. This
also requires listing the recipient addresses directly in the workflow.
Otherwise (as previouslly implemented) the value would not be retrieved
if/when any previous step raised an error.
**Note**: Due to the way this workflow is implemented, there is no way
easy way to test it other than directly on the `main` repo. branch.
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/cirrus/cron-fail_addrs.csv | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/cirrus/cron-fail_addrs.csv b/contrib/cirrus/cron-fail_addrs.csv deleted file mode 100644 index 276158163..000000000 --- a/contrib/cirrus/cron-fail_addrs.csv +++ /dev/null @@ -1 +0,0 @@ -rh.container.bot@gmail.com,podman-monitor@lists.podman.io |