summaryrefslogtreecommitdiff
path: root/.expeditor
diff options
context:
space:
mode:
authorNathaniel Kierpiec <nkierpiec@chef.io>2021-07-28 17:13:56 -0400
committerNathaniel Kierpiec <nkierpiec@chef.io>2021-07-28 17:13:56 -0400
commit18972cb51529005bb1bb8a87624d4d44e3216d1c (patch)
treee343ed9fb25177bec58ebb690983c09c2840919d /.expeditor
parentd864d3bfacc9d9b7c3aca6505ca206a029286de3 (diff)
downloadchef-18972cb51529005bb1bb8a87624d4d44e3216d1c.tar.gz
set bash to fail if commands exit non-zero
Signed-off-by: Nathaniel Kierpiec <nkierpiec@chef.io>
Diffstat (limited to '.expeditor')
-rwxr-xr-x.expeditor/build-docker-images.sh1
-rwxr-xr-x.expeditor/docker-manifest-create.sh1
-rwxr-xr-x.expeditor/promote-docker-images.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/.expeditor/build-docker-images.sh b/.expeditor/build-docker-images.sh
index b7da52042f..73fafa5d99 100755
--- a/.expeditor/build-docker-images.sh
+++ b/.expeditor/build-docker-images.sh
@@ -1,4 +1,5 @@
#! /bin/bash
+set -eu -o pipefail
arch=$1
diff --git a/.expeditor/docker-manifest-create.sh b/.expeditor/docker-manifest-create.sh
index 3c2acb8a08..267159b8f7 100755
--- a/.expeditor/docker-manifest-create.sh
+++ b/.expeditor/docker-manifest-create.sh
@@ -1,4 +1,5 @@
#! /bin/bash
+set -eu -o pipefail
export DOCKER_CLI_EXPERIMENTAL=enabled
diff --git a/.expeditor/promote-docker-images.sh b/.expeditor/promote-docker-images.sh
index af40b0ff9f..9625fed16b 100755
--- a/.expeditor/promote-docker-images.sh
+++ b/.expeditor/promote-docker-images.sh
@@ -1,4 +1,5 @@
#! /bin/bash
+set -eu -o pipefail
export DOCKER_CLI_EXPERIMENTAL=enabled