From 30907580749d4375f33d8840ac8d931ec477b146 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 23:03:43 +0000 Subject: [PATCH 1/3] deps: update golang docker tag to v1.22.5 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- keptn-cert-manager/Dockerfile | 2 +- lifecycle-operator/Dockerfile | 2 +- metrics-operator/Dockerfile | 2 +- scheduler/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) 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/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/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/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 From 34527552a69e0638ba8bd14b56dcd9bfc4530702 Mon Sep 17 00:00:00 2001 From: odubajDT Date: Mon, 5 Aug 2024 08:17:40 +0200 Subject: [PATCH 2/3] bump go to 1.22 Signed-off-by: odubajDT --- .github/workflows/CI.yaml | 2 +- .github/workflows/component-test.yml | 2 +- .github/workflows/e2e-test.yml | 2 +- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/integration-test-component.yml | 2 +- .github/workflows/integration-test.yml | 2 +- .github/workflows/load-test.yml | 2 +- .github/workflows/markdown-checks.yaml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/security-scans.yml | 2 +- .golangci.yml | 2 +- keptn-cert-manager/go.mod | 2 +- lifecycle-operator/go.mod | 2 +- metrics-operator/go.mod | 2 +- scheduler/go.mod | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 07398017bd..37f9cd5ed3 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -20,7 +20,7 @@ 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" ENVTEST_K8S_VERSION: "1.24.2" 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 69b771d9be..32a44bf1dd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ 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" SCHEDULER_COMPATIBLE_K8S_VERSION: "v0.24.3" 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/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/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/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/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 From 8c5f3f5b4e12c02a6bb7420b1e05ec29ef14c708 Mon Sep 17 00:00:00 2001 From: odubajDT Date: Mon, 5 Aug 2024 08:26:58 +0200 Subject: [PATCH 3/3] bump controller tools Signed-off-by: odubajDT --- .github/workflows/CI.yaml | 2 +- .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yaml b/.github/workflows/CI.yaml index 37f9cd5ed3..04510e359e 100644 --- a/.github/workflows/CI.yaml +++ b/.github/workflows/CI.yaml @@ -22,7 +22,7 @@ permissions: read-all env: 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/release.yml b/.github/workflows/release.yml index 32a44bf1dd..fcdd323013 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ defaults: env: 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"]'