зеркало из https://github.com/Azure/ARO-RP.git
try and run in container
This commit is contained in:
Родитель
b9b2cff5d6
Коммит
a108f4c1dd
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче