This commit is contained in:
Amber Brown 2023-07-18 09:58:31 +10:00 коммит произвёл Petr Kotas
Родитель b9b2cff5d6
Коммит a108f4c1dd
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -30,7 +30,7 @@ jobs:
- script: |
set -xe
sudo rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
sudo dnf install -y openvpn make podman
sudo dnf install -y openvpn make podman jq
displayName: Setup (Container)
target: container
@ -79,8 +79,10 @@ 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
@ -91,6 +93,7 @@ jobs:
./oc adm must-gather
tar cf must-gather.tar.gz must-gather.local.*
displayName: Collect must-gather
target: container
condition: failed()
- publish: must-gather.tar.gz
artifact: must-gather