You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hack/e2e-common.sh
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -344,6 +344,7 @@ function capture_manifests() {
344
344
clusterdeployment \
345
345
clusterimageset \
346
346
clusterprovision \
347
+
clusterdeprovision \
347
348
clusterstate \
348
349
dnszone \
349
350
machinepool \
@@ -379,6 +380,16 @@ function capture_cluster_logs() {
379
380
cat "${ARTIFACT_DIR}/hive_install_job.log"
380
381
fi
381
382
383
+
# Capture deprovision logs
384
+
if [[ -z"$(oc get cdr -n ${CLUSTER_NAMESPACE} -o jsonpath='{.status.completed}')" ]]
385
+
then
386
+
if UNINSTALL_JOB_NAME=$(oc get job -l "hive.openshift.io/cluster-deployment-name=${CLUSTER_NAME},hive.openshift.io/uninstall=true" -o name -n ${CLUSTER_NAMESPACE})&& [ "${UNINSTALL_JOB_NAME}" ]
0 commit comments