Skip to content
Merged
Show file tree
Hide file tree
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 @@ -11,3 +11,4 @@ export AZURE_AUTH_LOCATION=$cluster_profile/osServicePrincipal.json
echo "Deprovisioning cluster ..."
cp -ar "${SHARED_DIR}" /tmp/installer
openshift-install --dir /tmp/installer destroy cluster
cp /tmp/installer/.openshift_install.log "${ARTIFACT_DIR}/"
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export AWS_SHARED_CREDENTIALS_FILE=${cluster_profile}/.awscred

echo "Deprovisioning cluster ..."
cp -ar "${SHARED_DIR}" /tmp/installer
TF_LOG=debug openshift-install --dir /tmp/installer destroy cluster
openshift-install --dir /tmp/installer destroy cluster
cp /tmp/installer/.openshift_install.log "${ARTIFACT_DIR}/"

hosted_zone_id="$(aws route53 list-hosted-zones-by-name \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ cp \
-t "${SHARED_DIR}" \
"${dir}/auth/kubeconfig" \
"${dir}/metadata.json" \
"${dir}/terraform.tfstate"
"${dir}/terraform.tfstate" \
"${dir}/.openshift_install.log"
cp "${dir}/.openshift_install.log" "${ARTIFACT_DIR}/"
cp "${dir}"/log-bundle-*.tar.gz "${ARTIFACT_DIR}/" 2>/dev/null || :
exit "$ret"