diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index b3024afa91..3496f33182 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -8,16 +8,17 @@ jobs: strategy: fail-fast: false matrix: - kubernetes-version: ["v1.21.12", "v1.22.9", "v1.23.6"] + kubernetes-version: ["v1.22.15", "v1.23.12", "v1.24.6"] steps: - name: Checkout uses: actions/checkout@v2 - name: Create k8s Kind Cluster - uses: helm/kind-action@v1.2.0 + uses: helm/kind-action@v1.3.0 with: node_image: kindest/node:${{ matrix.kubernetes-version }} cluster_name: training-operator-cluster + kubectl_version: ${{ matrix.kubernetes-version }} - name: Build training-operator run: | diff --git a/.github/workflows/unittests.yaml b/.github/workflows/unittests.yaml index c6a446631f..0abb098fb9 100644 --- a/.github/workflows/unittests.yaml +++ b/.github/workflows/unittests.yaml @@ -17,7 +17,7 @@ jobs: strategy: fail-fast: false matrix: - kubernetes-version: ["1.21.4", "1.22.1", "1.23.5"] + kubernetes-version: ["1.22.1", "1.23.5", "1.24.2"] steps: - name: Check out code diff --git a/Makefile b/Makefile index 46b71d718c..149ae4fcac 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,7 @@ ifeq ($(GOLANGCI_LINT),) endif golangci-lint run --timeout 5m --go 1.19 ./... -ENVTEST_K8S_VERSION ?= 1.22 +ENVTEST_K8S_VERSION ?= 1.24 HAS_SETUP_ENVTEST := $(shell command -v setup-envtest;) testall: manifests generate fmt vet golangci-lint test ## Run tests.