diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 07398017bd..04510e359e 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -20,9 +20,9 @@ on: permissions: read-all env: - GO_VERSION: "~1.21" + GO_VERSION: "~1.22" # renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools - CONTROLLER_TOOLS_VERSION: "v0.13.0" + CONTROLLER_TOOLS_VERSION: "v0.15.0" ENVTEST_K8S_VERSION: "1.24.2" SCHEDULER_COMPATIBLE_K8S_VERSION: "v0.24.3" defaults: diff --git a/.github/workflows/component-test.yml b/.github/workflows/component-test.yml index ccdfd5c3d6..1544667f98 100644 --- a/.github/workflows/component-test.yml +++ b/.github/workflows/component-test.yml @@ -9,7 +9,7 @@ on: permissions: read-all env: - GO_VERSION: "~1.21" + GO_VERSION: "~1.22" defaults: run: shell: bash diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index 47381a2bfc..1f01d13d30 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -11,7 +11,7 @@ on: permissions: read-all env: - GO_VERSION: "~1.21" + GO_VERSION: "~1.22" defaults: run: shell: bash diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 5e145a7aa4..c05f7bbff0 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -22,7 +22,7 @@ permissions: read-all env: # renovate: datasource=github-releases depName=golangci/golangci-lint GOLANGCI_LINT_VERSION: "v1.55.2" - GO_VERSION: "~1.21" + GO_VERSION: "~1.22" jobs: golangci-lint: name: golangci-lint diff --git a/.github/workflows/integration-test-component.yml b/.github/workflows/integration-test-component.yml index 71e8a49d5b..d844aa8cb3 100644 --- a/.github/workflows/integration-test-component.yml +++ b/.github/workflows/integration-test-component.yml @@ -15,7 +15,7 @@ on: permissions: read-all env: - GO_VERSION: "~1.21" + GO_VERSION: "~1.22" defaults: run: shell: bash diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 6224187577..96225be2e8 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -19,7 +19,7 @@ on: permissions: read-all env: - GO_VERSION: "~1.21" + GO_VERSION: "~1.22" defaults: run: shell: bash diff --git a/.github/workflows/load-test.yml b/.github/workflows/load-test.yml index 87456a02c8..2616d654af 100644 --- a/.github/workflows/load-test.yml +++ b/.github/workflows/load-test.yml @@ -11,7 +11,7 @@ on: permissions: read-all env: - GO_VERSION: "~1.21" + GO_VERSION: "~1.22" # renovate: datasource=github-tags depName=cloud-bulldozer/kube-burner KUBE_BURNER_VERSION: "v1.7.11" defaults: diff --git a/.github/workflows/markdown-checks.yaml b/.github/workflows/markdown-checks.yaml index 57b039dedb..a165123002 100644 --- a/.github/workflows/markdown-checks.yaml +++ b/.github/workflows/markdown-checks.yaml @@ -22,7 +22,7 @@ on: permissions: read-all env: - GO_VERSION: "~1.21" + GO_VERSION: "~1.22" defaults: run: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b068bb3089..19542bf7da 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,9 +15,9 @@ defaults: shell: bash env: - GO_VERSION: "~1.21" + GO_VERSION: "~1.22" # renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools - CONTROLLER_TOOLS_VERSION: "v0.13.0" + CONTROLLER_TOOLS_VERSION: "v0.15.0" SCHEDULER_COMPATIBLE_K8S_VERSION: "v0.24.3" PUBLISHABLE_ITEMS: '[".","lifecycle-operator","metrics-operator","keptn-cert-manager","runtimes/deno-runtime","runtimes/python-runtime","scheduler"]' diff --git a/.github/workflows/security-scans.yml b/.github/workflows/security-scans.yml index 9e54a0412d..e3fe5228bf 100644 --- a/.github/workflows/security-scans.yml +++ b/.github/workflows/security-scans.yml @@ -17,7 +17,7 @@ defaults: shell: bash env: - GO_VERSION: "~1.21" + GO_VERSION: "~1.22" jobs: prepare-security-scans: diff --git a/.golangci.yml b/.golangci.yml index 1f4e598a1a..169d96f98e 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,6 +1,6 @@ run: timeout: 5m - go: "~1.21" + go: "~1.22" linters: enable: - gofmt # Gofmt checks whether code was gofmt-ed. By default, this tool runs with -s option to check for code simplification diff --git a/keptn-cert-manager/Dockerfile b/keptn-cert-manager/Dockerfile index ba4a5d2a27..4f4cf5736b 100644 --- a/keptn-cert-manager/Dockerfile +++ b/keptn-cert-manager/Dockerfile @@ -1,5 +1,5 @@ # Build the manager binary -FROM --platform=$BUILDPLATFORM golang:1.21.12-alpine3.19 AS builder +FROM --platform=$BUILDPLATFORM golang:1.22.5-alpine3.19 AS builder ENV CGO_ENABLED=0 diff --git a/keptn-cert-manager/go.mod b/keptn-cert-manager/go.mod index a11cb231e3..af9fbd3264 100644 --- a/keptn-cert-manager/go.mod +++ b/keptn-cert-manager/go.mod @@ -1,6 +1,6 @@ module github.com/keptn/lifecycle-toolkit/keptn-cert-manager -go 1.21 +go 1.22 require ( github.com/go-logr/logr v1.4.2 diff --git a/lifecycle-operator/Dockerfile b/lifecycle-operator/Dockerfile index 9300621432..92d93b3c58 100644 --- a/lifecycle-operator/Dockerfile +++ b/lifecycle-operator/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.21.12-alpine3.19 AS builder +FROM --platform=$BUILDPLATFORM golang:1.22.5-alpine3.19 AS builder ENV CGO_ENABLED=0 diff --git a/lifecycle-operator/go.mod b/lifecycle-operator/go.mod index d75c3f54cc..03f206490c 100644 --- a/lifecycle-operator/go.mod +++ b/lifecycle-operator/go.mod @@ -1,6 +1,6 @@ module github.com/keptn/lifecycle-toolkit/lifecycle-operator -go 1.21 +go 1.22 require ( dario.cat/mergo v1.0.0 diff --git a/metrics-operator/Dockerfile b/metrics-operator/Dockerfile index 89079b98b5..e7bb022d37 100644 --- a/metrics-operator/Dockerfile +++ b/metrics-operator/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.21.12-alpine3.19 AS builder +FROM --platform=$BUILDPLATFORM golang:1.22.5-alpine3.19 AS builder ENV CGO_ENABLED=0 diff --git a/metrics-operator/go.mod b/metrics-operator/go.mod index 81b529f043..9801426dbd 100644 --- a/metrics-operator/go.mod +++ b/metrics-operator/go.mod @@ -1,6 +1,6 @@ module github.com/keptn/lifecycle-toolkit/metrics-operator -go 1.21 +go 1.22 require ( github.com/DataDog/datadog-api-client-go/v2 v2.25.0 diff --git a/scheduler/Dockerfile b/scheduler/Dockerfile index 408bf4f8ce..db9e90ec9e 100644 --- a/scheduler/Dockerfile +++ b/scheduler/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=$BUILDPLATFORM golang:1.21.12-alpine3.19 AS builder +FROM --platform=$BUILDPLATFORM golang:1.22.5-alpine3.19 AS builder ENV CGO_ENABLED=0 diff --git a/scheduler/go.mod b/scheduler/go.mod index 53b022af58..4f59701dbe 100644 --- a/scheduler/go.mod +++ b/scheduler/go.mod @@ -1,6 +1,6 @@ module github.com/keptn/lifecycle-toolkit/scheduler -go 1.21 +go 1.22 require ( github.com/kelseyhightower/envconfig v1.4.0