Skip to content

Commit

Permalink
chore: bump Go base images and pipelines version to 1.21 (#3218)
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <ondrej.dubaj@dynatrace.com>
  • Loading branch information
odubajDT committed Mar 11, 2024
1 parent 37611d3 commit de01ca4
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ on:
permissions: read-all

env:
GO_VERSION: "~1.20"
GO_VERSION: "~1.21"
# renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools
CONTROLLER_TOOLS_VERSION: "v0.13.0"
ENVTEST_K8S_VERSION: "1.24.2"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/component-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
permissions: read-all

env:
GO_VERSION: "~1.20"
GO_VERSION: "~1.21"
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
permissions: read-all

env:
GO_VERSION: "~1.20"
GO_VERSION: "~1.21"
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.20"
GO_VERSION: "~1.21"
jobs:
golangci-lint:
name: golangci-lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
permissions: read-all

env:
GO_VERSION: "~1.20"
GO_VERSION: "~1.21"
defaults:
run:
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/load-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
permissions: read-all

env:
GO_VERSION: "~1.20"
GO_VERSION: "~1.21"
# renovate: datasource=github-tags depName=cloud-bulldozer/kube-burner
KUBE_BURNER_VERSION: "v1.7.11"
defaults:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/markdown-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ on:
permissions: read-all

env:
GO_VERSION: "~1.20"
GO_VERSION: "~1.21"

defaults:
run:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ defaults:
shell: bash

env:
GO_VERSION: "~1.20"
GO_VERSION: "~1.21"
# renovate: datasource=github-releases depName=kubernetes-sigs/controller-tools
CONTROLLER_TOOLS_VERSION: "v0.13.0"
SCHEDULER_COMPATIBLE_K8S_VERSION: "v0.24.3"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security-scans.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ defaults:
shell: bash

env:
GO_VERSION: "~1.20"
GO_VERSION: "~1.21"

jobs:
prepare-security-scans:
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
run:
timeout: 5m
go: '1.20'
go: "~1.21"
linters:
enable:
- gofmt # Gofmt checks whether code was gofmt-ed. By default, this tool runs with -s option to check for code simplification
Expand Down
2 changes: 1 addition & 1 deletion keptn-cert-manager/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM --platform=$BUILDPLATFORM golang:1.20.4-alpine3.16 AS builder
FROM --platform=$BUILDPLATFORM golang:1.21.8-alpine3.19 AS builder

ENV CGO_ENABLED=0

Expand Down
2 changes: 1 addition & 1 deletion lifecycle-operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.20.4-alpine3.16 AS builder
FROM --platform=$BUILDPLATFORM golang:1.21.8-alpine3.19 AS builder

ENV CGO_ENABLED=0

Expand Down
2 changes: 1 addition & 1 deletion metrics-operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.20.4-alpine3.16 AS builder
FROM --platform=$BUILDPLATFORM golang:1.21.8-alpine3.19 AS builder

ENV CGO_ENABLED=0

Expand Down
2 changes: 1 addition & 1 deletion scheduler/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM --platform=$BUILDPLATFORM golang:1.20.4-alpine3.16 AS builder
FROM --platform=$BUILDPLATFORM golang:1.21.8-alpine3.19 AS builder

ENV CGO_ENABLED=0

Expand Down

0 comments on commit de01ca4

Please sign in to comment.