Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down