From 9cff4c9f9f168bb54d04a87559e636e8d4d37245 Mon Sep 17 00:00:00 2001 From: Alex Crawford Date: Wed, 26 Aug 2020 16:19:57 -0700 Subject: [PATCH] templates/installer: fix heredoc redirection > If any part of word is quoted, the delimiter is the result of quote > removal on word, and the lines in the here-document are not expanded. http://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Here-Documents --- .../installer/cluster-launch-installer-libvirt-e2e.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci-operator/templates/openshift/installer/cluster-launch-installer-libvirt-e2e.yaml b/ci-operator/templates/openshift/installer/cluster-launch-installer-libvirt-e2e.yaml index 4f2501ead96d0..ba8843ccb84c4 100644 --- a/ci-operator/templates/openshift/installer/cluster-launch-installer-libvirt-e2e.yaml +++ b/ci-operator/templates/openshift/installer/cluster-launch-installer-libvirt-e2e.yaml @@ -201,7 +201,7 @@ objects: trap 'rc=$?; if test "${rc}" -eq 0; then touch "${HOME}"/setup-success; else touch "${HOME}"/exit "${HOME}"/setup-failed; fi; exit "${rc}"' EXIT trap 'CHILDREN=$(jobs -p); if test -n "${CHILDREN}"; then kill ${CHILDREN} && wait; fi' TERM - cat > "${HOME}"/run-tests.sh << 'EOF' + cat > "${HOME}"/run-tests.sh << EOF #!/bin/bash set -euo pipefail export PATH=/home/packer:$PATH