Skip to content

Commit

Permalink
golang: Build 1.24rc1 images
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Dec 30, 2024
1 parent b11e233 commit 193f98d
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 6 deletions.
44 changes: 39 additions & 5 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,20 @@ dependencies:
refPaths:
- path: images/build/go-runner/VERSION

- name: "registry.k8s.io/build-image/go-runner (go1.24-bookworm)"
version: v2.4.0-go1.24rc1-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-]+)*))?)

- name: "registry.k8s.io/build-image/go-runner: image revision (go1.24-bookworm)"
version: 0
refPaths:
- path: images/build/go-runner/Makefile
match: REVISION \?= \d+
- path: images/build/go-runner/variants.yaml
match: REVISION:\ '\d+'

# go-runner (latest Golang)
# To be updated before kubernetes/kubernetes update
- name: "registry.k8s.io/build-image/go-runner (go1.23-bookworm)"
Expand Down Expand Up @@ -176,11 +190,31 @@ dependencies:
match: REVISION:\ '\d+'

# kube-cross (next candidate)
# - name: "registry.k8s.io/build-image/kube-cross: config variant (next candidate)"
# version: go1.24rc1-bullseye
# refPaths:
# - path: images/build/cross/variants.yaml
# match: "CONFIG: 'go\\d+.\\d+-bullseye'"
- name: "registry.k8s.io/build-image/kube-cross: config variant (next candidate)"
version: go1.24-bullseye
refPaths:
- path: images/build/cross/variants.yaml
match: "CONFIG: 'go\\d+.\\d+-bullseye'"

- name: "registry.k8s.io/build-image/kube-cross (v1.33-go1.24)"
version: v1.33.0-go1.24rc1-bullseye.0
refPaths:
- path: images/build/cross/variants.yaml
match: "IMAGE_VERSION: 'v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"

- name: "registry.k8s.io/build-image/kube-cross: config variant (v1.33-go1.24)"
version: go1.24-bullseye
refPaths:
- path: images/build/cross/variants.yaml
match: "CONFIG: 'go\\d+.\\d+-bullseye'"

- name: "registry.k8s.io/build-image/kube-cross: image revision (v1.33-go1.24)"
version: 0
refPaths:
- path: images/build/cross/Makefile
match: REVISION \?= \d+
- path: images/build/cross/variants.yaml
match: REVISION:\ '\d+'

# kube-cross (Kubernetes v1.33)
# To be updated before kubernetes/kubernetes update
Expand Down
9 changes: 9 additions & 0 deletions images/build/cross/variants.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
variants:
v1.33-go1.24-bullseye:
CONFIG: 'go1.24-bullseye'
TYPE: 'default'
IMAGE_VERSION: 'v1.33.0-go1.24rc1-bullseye.0'
KUBERNETES_VERSION: 'v1.33.0'
GO_VERSION: '1.24rc1'
GO_MAJOR_VERSION: '1.24'
OS_CODENAME: 'bullseye'
REVISION: '0'
v1.33-go1.23-bullseye:
CONFIG: 'go1.23-bullseye'
TYPE: 'default'
Expand Down
8 changes: 8 additions & 0 deletions images/build/go-runner/variants.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
variants:
go1.24-bookworm:
CONFIG: 'go1.24-bookworm'
IMAGE_VERSION: 'v2.4.0-go1.24rc1-bookworm.0'
GO_MAJOR_VERSION: '1.24'
OS_CODENAME: 'bookworm'
REVISION: '0'
GO_VERSION: '1.24rc1'
DISTROLESS_IMAGE: 'static-debian12'
go1.23-bookworm:
CONFIG: 'go1.23-bookworm'
IMAGE_VERSION: 'v2.4.0-go1.23.4-bookworm.0'
Expand Down
5 changes: 5 additions & 0 deletions images/releng/ci/variants.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
variants:
go1.24-bookworm:
CONFIG: 'go1.24-bookworm'
GO_VERSION: '1.24rc1'
OS_CODENAME: 'bookworm'
REVISION: '0'
go1.23-bookworm:
CONFIG: 'go1.23-bookworm'
GO_VERSION: '1.23.4'
Expand Down
2 changes: 1 addition & 1 deletion images/releng/k8s-ci-builder/variants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ variants:
OS_CODENAME: 'bullseye'
next:
CONFIG: next
GO_VERSION: '1.23.3'
GO_VERSION: '1.24rc1'
OS_CODENAME: 'bookworm'
'1.32':
CONFIG: '1.32'
Expand Down

0 comments on commit 193f98d

Please sign in to comment.