From 18d60cd7ad33fecdf549cd89f89f3fd68b91edc7 Mon Sep 17 00:00:00 2001 From: Amber Brown Date: Tue, 18 Jul 2023 12:54:22 +1000 Subject: [PATCH] cleanup --- .pipelines/e2e.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.pipelines/e2e.yml b/.pipelines/e2e.yml index f575c6c23e8..068d2b60df1 100644 --- a/.pipelines/e2e.yml +++ b/.pipelines/e2e.yml @@ -79,13 +79,17 @@ jobs: displayName: Execute Tests target: container - # must-gather collection must be run inside the container so it can access the VPN - script: | export CI=true - . secrets/env . ./hack/e2e/run-rp-and-e2e.sh hack/get-admin-kubeconfig.sh /subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$CLUSTER/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER >admin.kubeconfig + displayName: Get admin kubeconfig for must-gather + condition: failed() + # must-gather collection must be run inside the container so it can access the VPN + - script: | + export CI=true + . ./hack/e2e/run-rp-and-e2e.sh export KUBECONFIG=admin.kubeconfig wget -nv https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/$(OpenShiftVersion)/openshift-client-linux-$(OpenShiftVersion).tar.gz