File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,9 @@ stages:
4141 EXTENSION_NAME : " k8s-configuration"
4242 steps :
4343 - task : UsePythonVersion@0
44- displayName : ' Use Python 3.10 '
44+ displayName : ' Use Python 3.13 '
4545 inputs :
46- versionSpec : 3.10
46+ versionSpec : 3.13
4747 - bash : |
4848 set -ev
4949 echo "Building extension ${EXTENSION_NAME}..."
@@ -78,9 +78,9 @@ stages:
7878 vmImage : ' ubuntu-latest'
7979 steps :
8080 - task : UsePythonVersion@0
81- displayName : ' Use Python 3.10 '
81+ displayName : ' Use Python 3.13 '
8282 inputs :
83- versionSpec : 3.10
83+ versionSpec : 3.13
8484 - bash : |
8585 set -ev
8686
Original file line number Diff line number Diff line change 1919 kubectl version --client
2020 displayName: "Setup the VM with helm3 and kubectl"
2121 - task : UsePythonVersion@0
22- displayName : ' Use Python 3.10 '
22+ displayName : ' Use Python 3.13 '
2323 inputs :
24- versionSpec : 3.10
24+ versionSpec : 3.13
2525 - bash : |
2626 set -ev
2727 echo "Building extension ${EXTENSION_NAME}..."
6464 displayName: "Generate a settings.json file"
6565 - bash : |
6666 echo "Downloading the kind script"
67- curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.24.0/kind-linux-amd64
67+ # Get the latest version tag and download
68+ LATEST_KIND_VERSION=$(curl -s https://api.github.com/repos/kubernetes-sigs/kind/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
69+ curl -Lo ./kind "https://kind.sigs.k8s.io/dl/${LATEST_KIND_VERSION}/kind-linux-amd64"
6870 chmod +x ./kind
6971 ./kind create cluster
7072 displayName: "Create and Start the Kind cluster"
You can’t perform that action at this time.
0 commit comments