Skip to content

Commit

Permalink
Try and fix the e2e mustgather (#3023)
Browse files Browse the repository at this point in the history
* see if this fixes the mustgather
  • Loading branch information
hawkowl authored Jul 13, 2023
1 parent 06b565a commit 4406ce8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .pipelines/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,18 +86,16 @@ jobs:
hack/get-admin-kubeconfig.sh /subscriptions/$AZURE_SUBSCRIPTION_ID/resourceGroups/$CLUSTER/providers/Microsoft.RedHatOpenShift/openShiftClusters/$CLUSTER >admin.kubeconfig
export KUBECONFIG=admin.kubeconfig
wget https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/$(OpenShiftVersion)/openshift-client-linux-$(OpenShiftVersion).tar.gz
wget -nv https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/$(OpenShiftVersion)/openshift-client-linux-$(OpenShiftVersion).tar.gz
tar xf openshift-client-linux-$(OpenShiftVersion).tar.gz
./oc adm must-gather
tar cf must-gather.tar.gz must-gather.local.*
displayName: Collect must-gather
condition: failed()
target: container
- publish: must-gather.tar.gz
artifact: must-gather
displayName: Append must-gather to Pipeline
condition: failed()
target: container

- script: |
export CI=true
Expand Down

0 comments on commit 4406ce8

Please sign in to comment.