From 0b04270517bfa9402d72319812022d3b3f692178 Mon Sep 17 00:00:00 2001 From: Wilmar den Ouden Date: Thu, 29 Sep 2022 19:40:39 +0200 Subject: [PATCH] expand CI testing for all stable versions of Kubernetes (#9078) * ci: setup version matrix for the helm chart e2e Signed-off-by: wilmarguida * ci: sync all k8s version on CI steps Signed-off-by: wilmarguida * ci: bump all k8s version to latest stable Signed-off-by: wilmarguida Signed-off-by: wilmarguida --- .github/workflows/ci.yaml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fc106b495..46e44817c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -128,6 +128,10 @@ jobs: if: | (needs.changes.outputs.charts == 'true') + strategy: + matrix: + k8s: [v1.23.12, v1.24.6, v1.25.2] + steps: - name: Checkout @@ -170,12 +174,12 @@ jobs: sudo mkdir -p $HOME/.kube sudo chmod -R 777 $HOME/.kube - - name: Create Kubernetes cluster + - name: Create Kubernetes ${{ matrix.k8s }} cluster id: kind uses: engineerd/setup-kind@aa272fe2a7309878ffc2a81c56cfe3ef108ae7d0 #v0.5.0 with: version: v0.15.0 - image: kindest/node:v1.25.0 + image: kindest/node:${{ matrix.k8s }} - uses: geekyeggo/delete-artifact@b73cb986740e466292a536d0e32e2666c56fdeb3 # v1 with: @@ -208,7 +212,7 @@ jobs: strategy: matrix: - k8s: [v1.23.10, v1.24.4, v1.25.0] + k8s: [v1.23.12, v1.24.6, v1.25.2] steps: @@ -265,7 +269,7 @@ jobs: strategy: matrix: - k8s: [v1.24.4, v1.25.0] + k8s: [v1.23.12, v1.24.6, v1.25.2] steps: @@ -404,7 +408,7 @@ jobs: uses: engineerd/setup-kind@aa272fe2a7309878ffc2a81c56cfe3ef108ae7d0 #v0.5.0 with: version: v0.15.0 - image: kindest/node:v1.25.0 + image: kindest/node:v1.25.2 - name: Set up Go 1.19.1 id: go