Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkowl committed Jul 18, 2023
1 parent 609c07f commit 3ec2c1d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .pipelines/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ec2c1d

Please sign in to comment.