[go] Bump images, dependencies and versions to go 1.22rc2

Signed-off-by: cpanato <ctadeu@gmail.com>
This commit is contained in:
cpanato 2024-01-27 14:47:03 +01:00
parent c9991e4270
commit ee86ca9f13
Failed to extract signature
6 changed files with 18 additions and 16 deletions

View File

@ -1 +1 @@
1.22rc1 1.22rc2

View File

@ -1 +1 @@
v1.30.0-go1.22rc1-bullseye.0 v1.30.0-go1.22rc2-bullseye.0

View File

@ -97,7 +97,7 @@ readonly KUBE_CONTAINER_RSYNC_PORT=8730
# These are the default versions (image tags) for their respective base images. # These are the default versions (image tags) for their respective base images.
readonly __default_distroless_iptables_version=v0.4.4 readonly __default_distroless_iptables_version=v0.4.4
readonly __default_go_runner_version=v2.3.1-go1.22rc1-bookworm.0 readonly __default_go_runner_version=v2.3.1-go1.22rc2-bookworm.0
readonly __default_setcap_version=bookworm-v1.0.0 readonly __default_setcap_version=bookworm-v1.0.0
# These are the base images for the Docker-wrapped binaries. # These are the base images for the Docker-wrapped binaries.

View File

@ -118,12 +118,13 @@ dependencies:
# Golang # Golang
- name: "golang: upstream version" - name: "golang: upstream version"
version: 1.21.6 version: 1.22rc2
refPaths: refPaths:
- path: .go-version - path: .go-version
- path: build/build-image/cross/VERSION - path: build/build-image/cross/VERSION
- path: staging/publishing/rules.yaml # TODO: remove this when whe have the go1.22 released and not the rc.
match: 'default-go-version\: \d+.\d+(alpha|beta|rc)?\.?(\d+)?' # - path: staging/publishing/rules.yaml
# match: 'default-go-version\: \d+.\d+(alpha|beta|rc)?\.?(\d+)?'
- path: test/images/Makefile - path: test/images/Makefile
match: GOLANG_VERSION=\d+.\d+(alpha|beta|rc)?\.?\d+ match: GOLANG_VERSION=\d+.\d+(alpha|beta|rc)?\.?\d+
@ -132,15 +133,16 @@ dependencies:
# #
# This entry is a stub of the major version to allow dependency checks to # This entry is a stub of the major version to allow dependency checks to
# pass when building Kubernetes using a pre-release of Golang. # pass when building Kubernetes using a pre-release of Golang.
- name: "golang: 1.<major>" # TODO: remove this when whe have the go1.22 released and not the rc.
version: 1.21 # - name: "golang: 1.<major>"
refPaths: # version: 1.22
- path: build/build-image/cross/VERSION # refPaths:
- path: hack/lib/golang.sh # - path: build/build-image/cross/VERSION
match: minimum_go_version=go([0-9]+\.[0-9]+) # - path: hack/lib/golang.sh
# match: minimum_go_version=go([0-9]+\.[0-9]+)
- name: "registry.k8s.io/kube-cross: dependents" - name: "registry.k8s.io/kube-cross: dependents"
version: v1.30.0-go1.21.6-bullseye.0 version: v1.30.0-go1.22rc2-bullseye.0
refPaths: refPaths:
- path: build/build-image/cross/VERSION - path: build/build-image/cross/VERSION
@ -186,7 +188,7 @@ dependencies:
match: configs\[DistrolessIptables\] = Config{list\.BuildImageRegistry, "distroless-iptables", "v([0-9]+)\.([0-9]+)\.([0-9]+)"} match: configs\[DistrolessIptables\] = Config{list\.BuildImageRegistry, "distroless-iptables", "v([0-9]+)\.([0-9]+)\.([0-9]+)"}
- name: "registry.k8s.io/go-runner: dependents" - name: "registry.k8s.io/go-runner: dependents"
version: v2.3.1-go1.21.6-bookworm.0 version: v2.3.1-go1.22rc2-bookworm.0
refPaths: refPaths:
- path: build/common.sh - path: build/common.sh
match: __default_go_runner_version= match: __default_go_runner_version=

View File

@ -2392,4 +2392,4 @@ rules:
- staging/src/k8s.io/endpointslice - staging/src/k8s.io/endpointslice
recursive-delete-patterns: recursive-delete-patterns:
- '*/.gitattributes' - '*/.gitattributes'
default-go-version: 1.22rc1 default-go-version: 1.21.6

View File

@ -16,7 +16,7 @@ REGISTRY ?= registry.k8s.io/e2e-test-images
GOARM ?= 7 GOARM ?= 7
DOCKER_CERT_BASE_PATH ?= DOCKER_CERT_BASE_PATH ?=
QEMUVERSION=v5.1.0-2 QEMUVERSION=v5.1.0-2
GOLANG_VERSION=1.22rc1 GOLANG_VERSION=1.22rc2
export export
ifndef WHAT ifndef WHAT