From 212d79fbc7e37926fe31c16bd1b50dd9a1a0eb57 Mon Sep 17 00:00:00 2001 From: Maxime Lagresle Date: Sat, 17 Feb 2024 18:22:32 +0100 Subject: [PATCH] test on newest Kubernetes versions --- .github/latest-version.sh | 2 +- Jenkinsfile | 10 ++++------ README.md | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/latest-version.sh b/.github/latest-version.sh index fc0cf49..2315517 100755 --- a/.github/latest-version.sh +++ b/.github/latest-version.sh @@ -1,7 +1,7 @@ #!/bin/bash major=1 -for minor in `seq 21 27`; do +for minor in `seq 26 30`; do for patch in `seq 1 50`; do code=`curl -s -I https://storage.googleapis.com/kubernetes-release/release/v$major.$minor.$patch/bin/linux/amd64/kubectl -o /dev/null -w "%{http_code}"` if [ "$code" != "200" ]; then diff --git a/Jenkinsfile b/Jenkinsfile index 6638c65..d72c120 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,12 +10,10 @@ String[] platforms = [ // Kubectl versions to test against String[] kubectlVersions = [ - '1.22.17', - '1.23.17', - '1.24.17', - '1.25.13', - '1.26.8', - '1.27.5' + '1.26.14', + '1.27.11', + '1.28.7', + '1.29.2', ] // Not sure what this does yet diff --git a/README.md b/README.md index 10e226f..78bedd0 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ node { ## Prerequisites * A jenkins installation running version 2.401.1 or higher (with jdk11 or jdk17). -* An executor with `kubectl` installed (tested against [v1.22 to v1.27][Jenkinsfile] included). +* An executor with `kubectl` installed (tested against [v1.22 to v1.29][Jenkinsfile] included). * A Kubernetes cluster. ## How it works