From 5545fbfaeeae4b2c18cafadc0c642010e4a4d147 Mon Sep 17 00:00:00 2001 From: NikitaSkrynnik Date: Fri, 9 Aug 2024 14:25:00 +1100 Subject: [PATCH] debug Signed-off-by: NikitaSkrynnik --- .github/workflows/ci.yaml | 8 ++++++-- v | 4 ++++ 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 v diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cc5e390..dcabdcd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -52,7 +52,11 @@ jobs: K8S_VERSION=$(echo ${{ vars.NSM_KUBERNETES_VERSION }} | cut -d '.' -f 1,2 | cut -c 2-) K8S_VERSION=1.28 - AKS_K8S_VERSION=$(az aks get-versions --location westus | jq '.orchestrators[].orchestratorVersion' | grep -m 1 "${K8S_VERSION}") + + az aks get-versions --location westus + AKS_K8S_VERSION=$(az aks get-versions --location westus | jq '.values[].version' | grep -m 1 "${K8S_VERSION}") + + # az aks get-versions --location westus --output table | grep -m 1 "1.28" | cut -d' ' -f1 echo $K8S_VERSION echo $AKS_K8S_VERSION @@ -63,7 +67,7 @@ jobs: --node-count 2 \ --node-vm-size Standard_B2ms \ --generate-ssh-keys \ - --kubernetes-version $AKS_K8S_VERSION\ + --kubernetes-version "1.28.9" \ --debug az aks wait \ --name "$AZURE_CLUSTER_NAME" \ diff --git a/v b/v new file mode 100644 index 0000000..80691e1 --- /dev/null +++ b/v @@ -0,0 +1,4 @@ +"1.28" +"1.27" +"1.30" +"1.29"