Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: NikitaSkrynnik <nikita.skrynnik@xored.com>
  • Loading branch information
NikitaSkrynnik committed Aug 9, 2024
1 parent 9dc5d4d commit 0f43d48
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,22 @@ 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}")
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
echo "Creating a cluster"
az aks create \
--resource-group "$AZURE_RESOURCE_GROUP" \
--name "$AZURE_CLUSTER_NAME" \
--node-count 2 \
--node-vm-size Standard_B2ms \
--generate-ssh-keys \
--kubernetes-version $AKS_K8S_VERSION\
--kubernetes-version $K8S_VERSION \
--debug
az aks wait \
--name "$AZURE_CLUSTER_NAME" \
Expand All @@ -74,8 +78,6 @@ jobs:
--resource-group "$AZURE_RESOURCE_GROUP" \
--file "/tmp/config" \
--overwrite-existing
kubectl version
env:
AZURE_SERVICE_PRINCIPAL: ${{ secrets.AZURE_SERVICE_PRINCIPAL }}
AZURE_SERVICE_PRINCIPAL_SECRET: ${{ secrets.AZURE_SERVICE_PRINCIPAL_SECRET }}
Expand All @@ -85,6 +87,7 @@ jobs:
- name: Run tests
working-directory: ${{ github.repository }}
run: |
kubectl version
go test -count 1 -timeout 1h55m -race -v ./... -parallel 4
env:
KUBECONFIG: /tmp/config
Expand Down
4 changes: 4 additions & 0 deletions v
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
"1.28"
"1.27"
"1.30"
"1.29"

0 comments on commit 0f43d48

Please sign in to comment.