summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Evich <cevich@redhat.com>2019-04-29 11:00:05 -0400
committerChris Evich <cevich@redhat.com>2019-05-02 15:03:16 -0400
commit074a26f7a16770666095600d2dac252fbf2cb3e6 (patch)
treea1e61a1e02d83341f363233656dd5261a5b562c0
parent3ab67b9c30cf413c2b40f4b636418fec475c434a (diff)
downloadpodman-074a26f7a16770666095600d2dac252fbf2cb3e6.tar.gz
podman-074a26f7a16770666095600d2dac252fbf2cb3e6.tar.bz2
podman-074a26f7a16770666095600d2dac252fbf2cb3e6.zip
Cirrus: Add pipefail confirmation check
Signed-off-by: Chris Evich <cevich@redhat.com>
-rw-r--r--.cirrus.yml3
1 files changed, 3 insertions, 0 deletions
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'