Skip to content

Commit

Permalink
update go-runner go mod to minuim go1.22 and bump image version
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <[email protected]>
  • Loading branch information
cpanato committed Oct 31, 2024
1 parent cc76f62 commit b1cdfb6
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ dependencies:
match: go \d+.\d+

- name: "golang: go.mod - go-runner"
version: 1.21
version: 1.22
refPaths:
- path: images/build/go-runner/go.mod
match: go \d+.\d+
Expand Down Expand Up @@ -136,14 +136,14 @@ dependencies:

# go-runner
- name: "go-runner"
version: v2.3.1
version: v2.4.0
refPaths:
- path: images/build/go-runner/VERSION

# go-runner (latest Golang)
# To be updated before kubernetes/kubernetes update
- name: "registry.k8s.io/build-image/go-runner (go1.23-bookworm)"
version: v2.3.1-go1.23.2-bookworm.0
version: v2.4.0-go1.23.2-bookworm.0
refPaths:
- path: images/build/go-runner/variants.yaml
match: v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
Expand All @@ -159,7 +159,7 @@ dependencies:
# go-runner (previous stable Golang)
# To be updated before kubernetes/kubernetes update
- name: "registry.k8s.io/build-image/go-runner (go1.22-bookworm)"
version: v2.3.1-go1.22.8-bookworm.0
version: v2.4.0-go1.22.8-bookworm.0
refPaths:
- path: images/build/go-runner/variants.yaml
match: v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
Expand Down
2 changes: 1 addition & 1 deletion images/build/go-runner/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ include $(CURDIR)/../../Makefile.common-image

IMGNAME = go-runner
APP_VERSION = $(shell cat VERSION)
GO_MAJOR_VERSION ?= 1.22
GO_MAJOR_VERSION ?= 1.23
REVISION ?= 0
GO_VERSION ?= 1.23.2
OS_CODENAME ?= bookworm
Expand Down
2 changes: 1 addition & 1 deletion images/build/go-runner/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.3.1
v2.4.0
2 changes: 1 addition & 1 deletion images/build/go-runner/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ substitutions:
_PULL_BASE_REF: 'dev'
_CONFIG: 'go-major-codename'
_IMAGE_VERSION: 'v0.0.0-go0.0.0-codename.0'
_GO_MAJOR_VERSION: '1.16'
_GO_MAJOR_VERSION: '1.22'
_OS_CODENAME: 'codename'
_REVISION: '0'
_GO_VERSION: '0.0.0'
Expand Down
2 changes: 1 addition & 1 deletion images/build/go-runner/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module k8s.io/release/images/build/go-runner

go 1.21
go 1.22
4 changes: 2 additions & 2 deletions images/build/go-runner/variants.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
variants:
go1.23-bookworm:
CONFIG: 'go1.23-bookworm'
IMAGE_VERSION: 'v2.3.1-go1.23.2-bookworm.0'
IMAGE_VERSION: 'v2.4.0-go1.23.2-bookworm.0'
GO_MAJOR_VERSION: '1.23'
OS_CODENAME: 'bookworm'
REVISION: '0'
GO_VERSION: '1.23.2'
DISTROLESS_IMAGE: 'static-debian12'
go1.22-bookworm:
CONFIG: 'go1.22-bookworm'
IMAGE_VERSION: 'v2.3.1-go1.22.8-bookworm.0'
IMAGE_VERSION: 'v2.4.0-go1.22.8-bookworm.0'
GO_MAJOR_VERSION: '1.22'
OS_CODENAME: 'bookworm'
REVISION: '0'
Expand Down

0 comments on commit b1cdfb6

Please sign in to comment.