From cfa67ede91a5c27e187231591455870af3c1518f Mon Sep 17 00:00:00 2001 From: Devanshu Date: Mon, 8 Sep 2025 15:30:13 +0530 Subject: [PATCH 1/2] Bump golang to 1.24.6 Signed-off-by: Devanshu --- Dockerfile | 2 +- cli/go.mod | 2 +- go.mod | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 192214324..413658493 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.23.8 AS deps +FROM --platform=$BUILDPLATFORM golang:1.24.6 AS deps ARG TARGETOS TARGETARCH KCTRL_VER=development WORKDIR /workspace diff --git a/cli/go.mod b/cli/go.mod index b2eb5d13b..ac7015cb9 100644 --- a/cli/go.mod +++ b/cli/go.mod @@ -1,6 +1,6 @@ module carvel.dev/kapp-controller/cli -go 1.23.8 +go 1.24.6 require ( carvel.dev/kapp-controller v0.57.0 diff --git a/go.mod b/go.mod index 73af87099..c59d8ae89 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module carvel.dev/kapp-controller -go 1.23.8 +go 1.24.6 require ( carvel.dev/vendir v0.44.0 From 15c3aeb36f2c90fc1d296edaf3f3c29579170921 Mon Sep 17 00:00:00 2001 From: Devanshu Date: Mon, 8 Sep 2025 15:42:38 +0530 Subject: [PATCH 2/2] Run kind cluster with 1.34.0 version Signed-off-by: Devanshu --- .github/workflows/kind-action.yml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/kind-action.yml b/.github/workflows/kind-action.yml index bbb2e4148..f20a9489f 100644 --- a/.github/workflows/kind-action.yml +++ b/.github/workflows/kind-action.yml @@ -16,11 +16,25 @@ concurrency: jobs: run-tests: runs-on: ubuntu-latest + env: + KIND_CLUSTER_NAME: kinder + K8S_VERSION: v1.34.0 steps: - - name: Create k8s Kind Cluster - uses: helm/kind-action@v1 - with: - cluster_name: kinder + - name: Install kind + run: | + KIND_VERSION="v0.30.0" + curl -Lo ./kind https://kind.sigs.k8s.io/dl/${KIND_VERSION}/kind-linux-amd64 + chmod +x ./kind + sudo mv ./kind /usr/local/bin/kind + kind --version + - name: Create Kind Cluster + run: | + kind create cluster --name $KIND_CLUSTER_NAME --image kindest/node:${K8S_VERSION} + - name: Verify kind and k8s version + run: | + kind version + kubectl version + kubectl cluster-info --context kind-kinder - uses: actions/checkout@v4 with: fetch-depth: 0