-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace k8s.gcr.io with registry.k8s.io #28674
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -444,7 +444,7 @@ def generate_grid(): | |
############################# | ||
def generate_misc(): | ||
results = [ | ||
# A one-off scenario testing the k8s.gcr.io mirror | ||
# A one-off scenario testing the registry.k8s.io mirror | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. registry.k8s.io is the mirror of k8s.gcr.io referenced here |
||
build_test(name_override="kops-scenario-gcr-mirror", | ||
runs_per_day=24, | ||
cloud="aws", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ presubmits: | |
testgrid-dashboards: sig-k8s-infra-k8sio | ||
decorate: true | ||
skip_report: false | ||
run_if_changed: 'k8s.gcr.io/((images/.*/images\.yaml)|(manifests/.*/promoter-manifest\.yaml))' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you revert all the changes to this file please? This will break the image promotion jobs right now. I will resolve this as part of the image registry freeze in March. |
||
run_if_changed: 'registry.k8s.io/((images/.*/images\.yaml)|(manifests/.*/promoter-manifest\.yaml))' | ||
max_concurrency: 10 | ||
branches: | ||
- ^main$ | ||
|
@@ -19,7 +19,7 @@ presubmits: | |
- /kpromo | ||
args: | ||
- cip | ||
- --thin-manifest-dir=/home/prow/go/src/github.com/kubernetes/k8s.io/k8s.gcr.io | ||
- --thin-manifest-dir=/home/prow/go/src/github.com/kubernetes/k8s.io/registry.k8s.io | ||
- --use-prow-manifest-diff | ||
resources: | ||
limits: | ||
|
@@ -48,7 +48,7 @@ presubmits: | |
- /kpromo | ||
args: | ||
- cip | ||
- --thin-manifest-dir=/home/prow/go/src/github.com/kubernetes/k8s.io/k8s.gcr.io | ||
- --thin-manifest-dir=/home/prow/go/src/github.com/kubernetes/k8s.io/registry.k8s.io | ||
- --use-prow-manifest-diff | ||
- --vuln-severity-threshold=1 | ||
# Check that changes to backup scripts are valid. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ postsubmits: | |
decorate: true | ||
decoration_config: | ||
timeout: 4h | ||
run_if_changed: 'k8s.gcr.io/((images/.*/images\.yaml)|(manifests/.*/promoter-manifest\.yaml))' | ||
run_if_changed: 'registry.k8s.io/((images/.*/images\.yaml)|(manifests/.*/promoter-manifest\.yaml))' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you revert all the changes to this file please? This will break the image promotion jobs right now. I will resolve this as part of the image registry freeze in March. |
||
# Never run more than 1 job at a time. This is because we don't want to run | ||
# into a case where an older manifest PR merge gets run last (after a newer | ||
# one). | ||
|
@@ -49,7 +49,7 @@ postsubmits: | |
- /kpromo | ||
args: | ||
- cip | ||
- --thin-manifest-dir=/home/prow/go/src/github.com/kubernetes/k8s.io/k8s.gcr.io | ||
- --thin-manifest-dir=/home/prow/go/src/github.com/kubernetes/k8s.io/registry.k8s.io | ||
- --use-prow-manifest-diff | ||
- --confirm | ||
env: | ||
|
@@ -157,7 +157,7 @@ periodics: | |
- /kpromo | ||
args: | ||
- cip | ||
- --thin-manifest-dir=/home/prow/go/src/github.com/kubernetes/k8s.io/k8s.gcr.io | ||
- --thin-manifest-dir=/home/prow/go/src/github.com/kubernetes/k8s.io/registry.k8s.io | ||
- --confirm | ||
env: | ||
- name: GOMAXPROCS | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1022,8 +1022,8 @@ repos: | |
prowPlugin: label | ||
addedBy: anyone | ||
- color: 0052cc | ||
description: Code in k8s.gcr.io/ | ||
name: area/k8s.gcr.io | ||
description: Code in registry.k8s.io/ | ||
name: area/registry.k8s.io | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. will this be a rename or issues will drop the labels: https://github.com/kubernetes/k8s.io/labels/area%2Fk8s.gcr.io ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we should do that. We should probably add a new label. cc @kubernetes/release-engineering @kubernetes/sig-k8s-infra |
||
target: both | ||
prowPlugin: label | ||
addedBy: anyone | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The instructions are still at https://github.com/kubernetes/k8s.io/blob/main/k8s.gcr.io/README.md
Can we please double check that changes are valid instead of mass substituting?
For all references to using/pulling an image, registry.k8s.io contains all images from k8s.gcr.io
For other contexts, they may not be interchangeable.