From c492fdb688a1f94ce95b975547d52de65c596b9a Mon Sep 17 00:00:00 2001 From: Maxime Lagresle Date: Wed, 30 Aug 2023 09:42:08 +0200 Subject: [PATCH 1/2] test on 1.27.5 --- .github/latest-version.sh | 2 +- Jenkinsfile | 9 +++++---- README.md | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/latest-version.sh b/.github/latest-version.sh index a47f214..fc0cf49 100755 --- a/.github/latest-version.sh +++ b/.github/latest-version.sh @@ -1,7 +1,7 @@ #!/bin/bash major=1 -for minor in `seq 21 26`; do +for minor in `seq 21 27`; 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 449f1b1..dab8ebf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -11,10 +11,11 @@ String[] platforms = [ // Kubectl versions to test against String[] kubectlVersions = [ '1.22.17', - '1.23.16', - '1.24.10', - '1.25.6', - '1.26.1', + '1.23.17', + '1.24.17', + '1.25.13', + '1.26.18', + '1.27.5' ] // Not sure what this does yet diff --git a/README.md b/README.md index 4714283..10e226f 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.26][Jenkinsfile] included). +* An executor with `kubectl` installed (tested against [v1.22 to v1.27][Jenkinsfile] included). * A Kubernetes cluster. ## How it works From 973cb99eef252783a1ecf9e21666f563701a0f5a Mon Sep 17 00:00:00 2001 From: Maxime Lagresle Date: Wed, 30 Aug 2023 09:51:12 +0200 Subject: [PATCH 2/2] fix 1.26 version being used for testing --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index dab8ebf..178a476 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,7 +14,7 @@ String[] kubectlVersions = [ '1.23.17', '1.24.17', '1.25.13', - '1.26.18', + '1.26.8', '1.27.5' ]