From 074a26f7a16770666095600d2dac252fbf2cb3e6 Mon Sep 17 00:00:00 2001 From: Chris Evich Date: Mon, 29 Apr 2019 11:00:05 -0400 Subject: Cirrus: Add pipefail confirmation check Signed-off-by: Chris Evich --- .cirrus.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.cirrus.yml b/.cirrus.yml index e411f555c..0745b1e7b 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -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' -- cgit v1.2.3-54-g00ecf