Skip to content

Commit 36a12d0

Browse files
committed
dependencies.yaml: Update dependents to use debian-base:bullseye-v1.0.0
Signed-off-by: Stephen Augustus <[email protected]>
1 parent 8fb7e52 commit 36a12d0

File tree

3 files changed

+36
-30
lines changed

3 files changed

+36
-30
lines changed

dependencies.yaml

+28-28
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,8 @@ dependencies:
360360
match: OS_CODENAME\ \?=\ (bullseye|buster)
361361
- path: images/build/cross/variants.yaml
362362
match: "OS_CODENAME: '(bullseye|buster)'"
363-
# TODO(codename): Uncomment once bullseye is default
364-
#- path: images/build/debian-base/Makefile
365-
# match: CONFIG\ \?=\ (bullseye|buster)
363+
- path: images/build/debian-base/Makefile
364+
match: CONFIG\ \?=\ (bullseye|buster)
366365
- path: images/build/debian-base/variants.yaml
367366
match: "CONFIG: '(bullseye|buster)'"
368367
- path: images/build/debian-iptables/Makefile
@@ -387,74 +386,75 @@ dependencies:
387386
- path: packages/deb/Dockerfile
388387
match: FROM golang:\d+.\d+(alpha|beta|rc)?\.?(\d+)-(bullseye|buster)
389388

390-
- name: "Debian: codename (next)"
389+
- name: "Debian: codename (next candidate)"
391390
version: bullseye
392391
refPaths:
393392
- path: images/build/debian-base/variants.yaml
394393
match: "CONFIG: '(bullseye|buster)'"
395394

396395
- name: "k8s.gcr.io/build-image/debian-base"
397-
version: bullseye-v1.0.0
396+
version: buster-v1.9.0
398397
refPaths:
399398
- path: images/build/debian-base/Makefile
400-
match: IMAGE_VERSION\ \?=\ [a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
399+
match: IMAGE_VERSION\ \?=\ (bullseye|buster)-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
401400
- path: images/build/debian-base/variants.yaml
402-
match: '[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)'
401+
match: "IMAGE_VERSION: '(bullseye|buster)-v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
403402

404403
- name: "k8s.gcr.io/build-image/debian-base: dependents"
405404
version: buster-v1.9.0
406405
refPaths:
407406
- path: images/build/debian-iptables/Makefile
408-
match: DEBIAN_BASE_VERSION\ \?=\ [a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
407+
match: DEBIAN_BASE_VERSION\ \?=\ (bullseye|buster)-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
409408
- path: images/build/debian-iptables/variants.yaml
410-
match: '[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)'
409+
match: "DEBIAN_BASE_VERSION: '(bullseye|buster)-v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
411410
- path: images/build/setcap/Makefile
412-
match: DEBIAN_BASE_VERSION\ \?=\ [a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
411+
match: DEBIAN_BASE_VERSION\ \?=\ (bullseye|buster)-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
413412
- path: images/build/setcap/variants.yaml
414-
match: '[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)'
413+
match: "DEBIAN_BASE_VERSION: '(bullseye|buster)-v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
415414

416415
- name: "k8s.gcr.io/build-image/debian-iptables"
417416
version: buster-v1.6.7
418417
refPaths:
419418
- path: images/build/debian-iptables/Makefile
420-
match: IMAGE_VERSION\ \?=\ [a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
419+
match: IMAGE_VERSION\ \?=\ (bullseye|buster)-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
421420
- path: images/build/debian-iptables/variants.yaml
422-
match: '[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)'
421+
match: "IMAGE_VERSION: '(bullseye|buster)-v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
423422

424423
- name: "k8s.gcr.io/build-image/setcap"
425424
version: buster-v2.0.4
426425
refPaths:
427426
- path: images/build/setcap/Makefile
428-
match: IMAGE_VERSION\ \?=\ [a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
427+
match: IMAGE_VERSION\ \?=\ (bullseye|buster)-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)
429428
- path: images/build/setcap/variants.yaml
430-
match: '[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)'
429+
match: "IMAGE_VERSION: '(bullseye|buster)-v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
431430

432-
# Base images (for previous release branches)
433-
- name: "k8s.gcr.io/build-image/debian-base (for previous release branches)"
434-
version: buster-v1.9.0
431+
# Base images (next candidate)
432+
- name: "k8s.gcr.io/build-image/debian-base (next candidate)"
433+
version: bullseye-v1.0.0
435434
refPaths:
436435
- path: images/build/debian-base/variants.yaml
437-
match: '[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)'
436+
match: "IMAGE_VERSION: '(bullseye|buster)-v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
438437

439-
- name: "k8s.gcr.io/build-image/debian-base: dependents (for previous release branches)"
440-
version: buster-v1.9.0
438+
- name: "k8s.gcr.io/build-image/debian-base: dependents (next candidate)"
439+
version: bullseye-v1.0.0
441440
refPaths:
442441
- path: images/build/debian-iptables/variants.yaml
443-
match: '[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)'
444-
- path: images/build/setcap/variants.yaml
445-
match: '[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)'
442+
match: "DEBIAN_BASE_VERSION: '(bullseye|buster)-v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
443+
# TODO(bullseye): Uncomment as part of https://github.com/kubernetes/release/pull/2249
444+
#- path: images/build/setcap/variants.yaml
445+
# match: "DEBIAN_BASE_VERSION: '(bullseye|buster)-v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
446446

447-
- name: "k8s.gcr.io/build-image/debian-iptables (for previous release branches)"
447+
- name: "k8s.gcr.io/build-image/debian-iptables (next candidate)"
448448
version: buster-v1.6.7
449449
refPaths:
450450
- path: images/build/debian-iptables/variants.yaml
451-
match: '[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)'
451+
match: "IMAGE_VERSION: '(bullseye|buster)-v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
452452

453-
- name: "k8s.gcr.io/build-image/setcap (for previous release branches)"
453+
- name: "k8s.gcr.io/build-image/setcap (next candidate)"
454454
version: buster-v2.0.4
455455
refPaths:
456456
- path: images/build/setcap/variants.yaml
457-
match: '[a-zA-Z]+\-v((([0-9]+)\.([0-9]+)\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?)'
457+
match: "IMAGE_VERSION: '(bullseye|buster)-v((([0-9]+)\\.([0-9]+)\\.([0-9]+)(?:-([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?)'"
458458

459459
# Build environments
460460
- name: "gcr.io/k8s-testimages/gcb-docker-gcloud"

images/build/debian-base/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ IMAGE ?= $(REGISTRY)/debian-base
1919
BUILD_IMAGE ?= debian-build
2020

2121
TAG ?= $(shell git describe --tags --always --dirty)
22-
IMAGE_VERSION ?= bullseye-v1.0.0
23-
CONFIG ?= bullseye
22+
IMAGE_VERSION ?= buster-v1.9.0
23+
CONFIG ?= buster
2424

2525
TAR_FILE ?= rootfs.tar
2626
ARCH ?= amd64

images/build/debian-iptables/variants.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
variants:
2+
# Debian 11 - Kubernetes 1.23 and newer
3+
bullseye:
4+
CONFIG: 'bullseye'
5+
IMAGE_VERSION: 'bullseye-v1.0.0'
6+
DEBIAN_BASE_VERSION: 'bullseye-v1.0.0'
7+
# Debian 10 - Kubernetes 1.22 and older
28
buster:
39
CONFIG: 'buster'
410
IMAGE_VERSION: 'buster-v1.6.7'

0 commit comments

Comments
 (0)