Skip to content

Commit 4d39530

Browse files
bavneetsingh16Bavneet Singh
authored andcommitted
update python version to 3.13 (#12)
1 parent 08cb65f commit 4d39530

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

testing/pipeline/k8s-custom-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ stages:
6565
EXTENSION_NAME: "connectedk8s"
6666
steps:
6767
- task: UsePythonVersion@0
68-
displayName: 'Use Python 3.10'
68+
displayName: 'Use Python 3.13'
6969
inputs:
70-
versionSpec: 3.10
70+
versionSpec: 3.13
7171
- bash: |
7272
set -ev
7373
echo "Building extension ${EXTENSION_NAME}..."

testing/pipeline/templates/run-test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
displayName: "Setup the VM with helm3 and kubectl"
2121
2222
- task: UsePythonVersion@0
23-
displayName: 'Use Python 3.10'
23+
displayName: 'Use Python 3.13'
2424
inputs:
25-
versionSpec: 3.10
25+
versionSpec: 3.13
2626

2727
- bash: |
2828
set -ev
@@ -68,7 +68,9 @@ jobs:
6868
6969
- bash : |
7070
echo "Downloading the kind script"
71-
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.24.0/kind-linux-amd64
71+
# Get the latest version tag and download
72+
LATEST_KIND_VERSION=$(curl -s https://api.github.com/repos/kubernetes-sigs/kind/releases/latest | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
73+
curl -Lo ./kind "https://kind.sigs.k8s.io/dl/${LATEST_KIND_VERSION}/kind-linux-amd64"
7274
chmod +x ./kind
7375
./kind create cluster
7476
displayName: "Create and Start the Kind cluster"

0 commit comments

Comments
 (0)