Skip to content

Commit 5318e87

Browse files
committed
Use 'pipefail' in openstack template
Installer was failing, the grep caused setup to be "successful", and the test container then immediately failed. Ref openshift#6718
1 parent e9e86b8 commit 5318e87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci-operator/templates/openshift/installer/cluster-launch-installer-openstack-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ objects:
289289
- -c
290290
- |
291291
#!/bin/sh
292-
set -e
292+
set -euo pipefail
293293
294294
trap 'rc=$?; if test "${rc}" -eq 0; then touch /tmp/setup-success; else touch /tmp/exit /tmp/setup-failed; fi; exit "${rc}"' EXIT
295295
trap 'CHILDREN=$(jobs -p); if test -n "${CHILDREN}"; then kill ${CHILDREN} && wait; fi' TERM

0 commit comments

Comments
 (0)