Skip to content

Commit

Permalink
Merge pull request kubernetes#3249 from saschagrunert/kube-cross-bull…
Browse files Browse the repository at this point in the history
…seye

Switch to bullseye for kube-cross
  • Loading branch information
k8s-ci-robot authored Sep 6, 2023
2 parents 871cdf9 + 186b4be commit 0e339ff
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 16 deletions.
20 changes: 10 additions & 10 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -187,16 +187,16 @@ dependencies:

# kube-cross
- name: "registry.k8s.io/build-image/kube-cross (v1.29-go1.21)"
version: v1.29.0-go1.21.0-bookworm.0
version: v1.29.0-go1.21.0-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.29-go1.21)"
version: go1.21-bookworm
version: go1.21-bullseye
refPaths:
- path: images/build/cross/variants.yaml
match: "CONFIG: 'go\\d+.\\d+-bookworm'"
match: "CONFIG: 'go\\d+.\\d+-bullseye'"

- name: "registry.k8s.io/build-image/kube-cross: image revision (v1.29-go1.21)"
version: 0
Expand Down Expand Up @@ -338,10 +338,10 @@ dependencies:
match: REVISION:\ '\d+'

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

# Golang (previous release branches: 1.28)
- name: "golang (previous release branches: 1.28)"
Expand Down Expand Up @@ -409,14 +409,14 @@ dependencies:
match: "version: v\\d+.\\d+?\\.?(\\d+)?"

# Base images
# split until all are set to bookworm
- name: "Debian: codename (bookworm)"
version: bookworm
# # Use bullseye for kube-cross to achieve maximum glibc compatibility.
- name: "Debian: codename (bullseye)"
version: bullseye
refPaths:
- path: images/build/cross/Makefile
match: OS_CODENAME\ \?=\ bookworm
match: OS_CODENAME\ \?=\ bullseye
- path: packages/deb/Dockerfile
match: FROM golang:\d+.\d+(alpha|beta|rc)?\.?(\d+)-bookworm
match: FROM golang:\d+.\d+(alpha|beta|rc)?\.?(\d+)-bullseye

- name: "Debian: codename (default)"
version: bullseye
Expand Down
2 changes: 1 addition & 1 deletion images/build/cross/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ IMGNAME = kube-cross
KUBERNETES_VERSION ?= v1.29.0
GO_VERSION ?= 1.21.0
GO_MAJOR_VERSION ?= 1.21
OS_CODENAME ?= bookworm
OS_CODENAME ?= bullseye
REVISION ?= 0
TYPE ?= default

Expand Down
8 changes: 4 additions & 4 deletions images/build/cross/variants.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
variants:
v1.29-go1.21-bookworm:
CONFIG: 'go1.21-bookworm'
v1.29-go1.21-bullseye:
CONFIG: 'go1.21-bullseye'
TYPE: 'default'
IMAGE_VERSION: 'v1.29.0-go1.21.0-bookworm.0'
IMAGE_VERSION: 'v1.29.0-go1.21.0-bullseye.0'
KUBERNETES_VERSION: 'v1.29.0'
GO_VERSION: '1.21.0'
GO_MAJOR_VERSION: '1.21'
OS_CODENAME: 'bookworm'
OS_CODENAME: 'bullseye'
REVISION: '0'
v1.28-go1.20-bullseye:
CONFIG: 'go1.20-bullseye'
Expand Down
2 changes: 1 addition & 1 deletion packages/deb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM golang:1.21.0-bookworm
FROM golang:1.21.0-bullseye

RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update -y \
Expand Down

0 comments on commit 0e339ff

Please sign in to comment.