File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -90,10 +90,14 @@ function approve_install_plan() {
9090 log " Waiting for an install plan to be created"
9191 if ! retry 15 5 " ${ROOT_DIR} /operator/hack/retry-kubectl.sh" < /dev/null -n " ${operator_ns} " wait subscription.operators.coreos.com stackrox-operator-test-subscription --for condition=InstallPlanPending --timeout=60s; then
9292 log " Install plan failed to materialize."
93+ log " Dumping install plans..."
94+ " ${ROOT_DIR} /operator/hack/retry-kubectl.sh" < /dev/null -n " ${operator_ns} " describe " installplan.operators.coreos.com" || true
9395 log " Dumping pod descriptions..."
9496 " ${ROOT_DIR} /operator/hack/retry-kubectl.sh" < /dev/null -n " ${operator_ns} " describe pods -l " olm.catalogSource=stackrox-operator-test-index" || true
9597 log " Dumping catalog sources and subscriptions..."
9698 " ${ROOT_DIR} /operator/hack/retry-kubectl.sh" < /dev/null -n " ${operator_ns} " describe " subscription.operators.coreos.com,catalogsource.operators.coreos.com" || true
99+ log " Dumping jobs..."
100+ " ${ROOT_DIR} /operator/hack/retry-kubectl.sh" < /dev/null -n " ${operator_ns} " describe " job.batch" || true
97101 return 1
98102 fi
99103
You can’t perform that action at this time.
0 commit comments