Skip to content

Commit f828821

Browse files
committed
releng: Point debian-base image references to K8s Infra
Signed-off-by: Stephen Augustus <[email protected]>
1 parent 0357843 commit f828821

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

build/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ readonly KUBE_BUILD_IMAGE_REPO=kube-build
4343
readonly KUBE_BUILD_IMAGE_CROSS_TAG="$(cat "${KUBE_ROOT}/build/build-image/cross/VERSION")"
4444

4545
readonly KUBE_DOCKER_REGISTRY="${KUBE_DOCKER_REGISTRY:-k8s.gcr.io}"
46-
readonly KUBE_BASE_IMAGE_REGISTRY="${KUBE_BASE_IMAGE_REGISTRY:-k8s.gcr.io}"
46+
readonly KUBE_BASE_IMAGE_REGISTRY="${KUBE_BASE_IMAGE_REGISTRY:-us.gcr.io/k8s-artifacts-prod/build-image}"
4747

4848
# This version number is used to cause everyone to rebuild their data containers
4949
# and build image. This is especially useful for automated build systems like

build/debian-base/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
all: all-build
1616

17-
REGISTRY ?= staging-k8s.gcr.io
17+
REGISTRY ?= gcr.io/k8s-staging-build-image
1818
IMAGE ?= $(REGISTRY)/debian-base
1919
BUILD_IMAGE ?= debian-build
2020

build/debian-iptables/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414

1515
.PHONY: build push all all-build all-push-images all-push push-manifest
1616

17-
REGISTRY?="staging-k8s.gcr.io"
17+
REGISTRY?="gcr.io/k8s-staging-build-image"
1818
IMAGE=$(REGISTRY)/debian-iptables
1919
TAG?=v12.0.1
2020
ARCH?=amd64
2121
ALL_ARCH = amd64 arm arm64 ppc64le s390x
2222
TEMP_DIR:=$(shell mktemp -d)
2323

24-
BASE_REGISTRY?=k8s.gcr.io
24+
BASE_REGISTRY?=us.gcr.io/k8s-artifacts-prod/build-image
2525
BASEIMAGE?=$(BASE_REGISTRY)/debian-base-$(ARCH):v2.0.0
2626

2727
# This option is for running docker manifest command

build/dependencies.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,17 +91,17 @@ dependencies:
9191
- path: build/debian-iptables/Makefile
9292
match: BASEIMAGE\?\=\$\(BASE_REGISTRY\)\/debian-base-\$\(ARCH\)
9393
- path: cluster/images/etcd/Makefile
94-
match: BASEIMAGE\?\=k8s\.gcr\.io\/debian-base:v\d+\.\d+\.\d+
94+
match: BASEIMAGE\?\=us\.gcr\.io\/k8s-artifacts-prod\/build-image\/debian-base:v\d+\.\d+\.\d+
9595
- path: cluster/images/etcd/Makefile
96-
match: BASEIMAGE\?\=k8s\.gcr\.io\/debian-base-arm:v\d+\.\d+\.\d+
96+
match: BASEIMAGE\?\=us\.gcr\.io\/k8s-artifacts-prod\/build-image\/debian-base-arm:v\d+\.\d+\.\d+
9797
- path: cluster/images/etcd/Makefile
98-
match: BASEIMAGE\?\=k8s\.gcr\.io\/debian-base-arm64:v\d+\.\d+\.\d+
98+
match: BASEIMAGE\?\=us\.gcr\.io\/k8s-artifacts-prod\/build-image\/debian-base-arm64:v\d+\.\d+\.\d+
9999
- path: cluster/images/etcd/Makefile
100-
match: BASEIMAGE\?\=k8s\.gcr\.io\/debian-base-ppc64le:v\d+\.\d+\.\d+
100+
match: BASEIMAGE\?\=us\.gcr\.io\/k8s-artifacts-prod\/build-image\/debian-base-ppc64le:v\d+\.\d+\.\d+
101101
- path: cluster/images/etcd/Makefile
102-
match: BASEIMAGE\?\=k8s\.gcr\.io\/debian-base-s390x:v\d+\.\d+\.\d+
102+
match: BASEIMAGE\?\=us\.gcr\.io\/k8s-artifacts-prod\/build-image\/debian-base-s390x:v\d+\.\d+\.\d+
103103
- path: cluster/images/etcd-empty-dir-cleanup/Dockerfile
104-
match: k8s.gcr.io\/debian-base:v\d+\.\d+\.\d+
104+
match: us\.gcr\.io\/k8s-artifacts-prod\/build-image\/debian-base:v\d+\.\d+\.\d+
105105

106106
- name: "k8s.gcr.io/debian-iptables"
107107
version: 12.0.1

build/workspace.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def debian_image_dependencies():
102102
name = "debian-base-" + arch,
103103
architecture = arch,
104104
digest = _digest(_DEBIAN_BASE_DIGEST, arch),
105-
registry = "k8s.gcr.io",
105+
registry = "us.gcr.io/k8s-artifacts-prod/build-image",
106106
repository = "debian-base",
107107
tag = "v2.0.0", # ignored, but kept here for documentation
108108
)

cluster/images/etcd-empty-dir-cleanup/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
FROM k8s.gcr.io/debian-base:v2.0.0
15+
FROM us.gcr.io/k8s-artifacts-prod/build-image/debian-base:v2.0.0
1616

1717
COPY etcdctl etcd-empty-dir-cleanup.sh /
1818
RUN chmod a+rx /etcdctl /etcd-empty-dir-cleanup.sh

cluster/images/etcd/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,19 @@ GOARM?=7
6767
TEMP_DIR:=$(shell mktemp -d)
6868

6969
ifeq ($(ARCH),amd64)
70-
BASEIMAGE?=k8s.gcr.io/debian-base:v2.0.0
70+
BASEIMAGE?=us.gcr.io/k8s-artifacts-prod/build-image/debian-base:v2.0.0
7171
endif
7272
ifeq ($(ARCH),arm)
73-
BASEIMAGE?=k8s.gcr.io/debian-base-arm:v2.0.0
73+
BASEIMAGE?=us.gcr.io/k8s-artifacts-prod/build-image/debian-base-arm:v2.0.0
7474
endif
7575
ifeq ($(ARCH),arm64)
76-
BASEIMAGE?=k8s.gcr.io/debian-base-arm64:v2.0.0
76+
BASEIMAGE?=us.gcr.io/k8s-artifacts-prod/build-image/debian-base-arm64:v2.0.0
7777
endif
7878
ifeq ($(ARCH),ppc64le)
79-
BASEIMAGE?=k8s.gcr.io/debian-base-ppc64le:v2.0.0
79+
BASEIMAGE?=us.gcr.io/k8s-artifacts-prod/build-image/debian-base-ppc64le:v2.0.0
8080
endif
8181
ifeq ($(ARCH),s390x)
82-
BASEIMAGE?=k8s.gcr.io/debian-base-s390x:v2.0.0
82+
BASEIMAGE?=us.gcr.io/k8s-artifacts-prod/build-image/debian-base-s390x:v2.0.0
8383
endif
8484

8585
build:

0 commit comments

Comments
 (0)