Cirrus: Add pipefail confirmation check

Signed-off-by: Chris Evich <cevich@redhat.com>
This commit is contained in:
Chris Evich 2019-04-29 11:00:05 -04:00
parent 3ab67b9c30
commit 074a26f7a1
No known key found for this signature in database
GPG Key ID: 03EDC70FD578067F
1 changed files with 3 additions and 0 deletions

View File

@ -140,6 +140,9 @@ gating_task:
- '/usr/local/bin/entrypoint.sh podman-remote-darwin |& ${TIMESTAMP}'
- '/usr/local/bin/entrypoint.sh podman-remote-windows |& ${TIMESTAMP}'
# Verify expected bash environment (-o pipefail)
pipefail_enabledscript: 'if /bin/false | /bin/true; then echo "pipefail fault" && exit 72; fi'
on_failure:
failed_master_script: '$CIRRUS_WORKING_DIR/$SCRIPT_BASE/notice_master_failure.sh'