diff --git a/ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml b/ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml index d57ba09f9baa9..410de124f21d5 100644 --- a/ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml +++ b/ci-operator/templates/openshift/installer/cluster-launch-installer-e2e.yaml @@ -268,7 +268,7 @@ objects: /bin/openshift-install version >/tmp/artifacts/installer/version export _CI_ONLY_STAY_AWAY_OPENSHIFT_INSTALL_AWS_USER_TAGS="{\"expirationDate\": \"$(date -d '4 hours' --iso=minutes --utc)\"}" - /bin/openshift-install --dir=/tmp/artifacts/installer --log-level=debug cluster & + /bin/openshift-install --dir=/tmp/artifacts/installer --log-level=debug create cluster & wait "$!" # Performs cleanup of all created resources @@ -358,7 +358,7 @@ objects: echo "Deprovisioning cluster ..." export AWS_SHARED_CREDENTIALS_FILE=/etc/openshift-installer/.awscred - openshift-install --dir /tmp/artifacts/installer --log-level debug destroy-cluster + openshift-install --dir /tmp/artifacts/installer --log-level debug destroy cluster } trap 'teardown' EXIT