gha: aks: Add the host_os as part of the aks cluster's name

We need to do so, otherwise we'll create two clusters for testing Cloud
Hypervisor with exactly the same name, one using Ubuntu, and one using
Mariner.

Fixes: #6999

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2023-05-31 05:20:04 +02:00
parent 51e42a9972
commit 0c8282c224

View File

@ -50,7 +50,7 @@ jobs:
run: | run: |
az aks create \ az aks create \
-g "kataCI" \ -g "kataCI" \
-n "${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}-${{ matrix.vmm }}-amd64" \ -n "${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }}-${{ matrix.vmm }}-${{ matrix.host_os }}-amd64" \
-s "Standard_D4s_v5" \ -s "Standard_D4s_v5" \
--node-count 1 \ --node-count 1 \
--generate-ssh-keys \ --generate-ssh-keys \