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
Made image registries configurable from registry.yaml file #60848
Made image registries configurable from registry.yaml file #60848
Conversation
|
@adelina-t: Adding do-not-merge/release-note-label-needed because the release note process has not been followed. One of the following labels is required "release-note", "release-note-action-required", or "release-note-none". Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
can you sign the CLA, please? |
|
/assign |
|
@adelina-t what is the proposal here for supporting windows platform? Keeping windows docker images is some other location may not scale for a long run, IMO we should have windows images also co-located with all other images(linux). |
|
@mkumatag The ideea is to support testing on k8s clusters containing windows on Azure ( for the moment ). Since the cluster will be deployed in Azure we might benefit from locating images in a registry in Azure as well, since the windows images are fairly big. |
ba0c31e
to
882a5b5
Compare
|
/sig testing |
test/registry.yaml
Outdated
| @@ -0,0 +1,4 @@ | |||
| e2eRegistry: atuvenie | |||
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.
did you intend for this file to be checked into the repo? if so, renaming this to image_registry.yaml, or placing it in the test/images directory might be a bit clearer.
additionally, this file isn't included in kubernetes-test.tar.gz, so it's not available to e2e tests currently. if you want to include it, you'll need to update build/BUILD:test-portable-targets" and hack/lib/golang.sh:KUBE_TEST_PORTABLE`.
test/utils/image/manifest.go
Outdated
| ) | ||
|
|
||
| type Registry struct { |
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.
minor nit: RegistryList, maybe?
test/utils/image/manifest.go
Outdated
| SampleRegistry: "gcr.io/google-samples", | ||
| } | ||
|
|
||
| if os.Getenv("KUBE_TEST_REPO_LIST") == "" { |
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.
can we use a flag instead of an environment variable for this?
|
/ok-to-test |
882a5b5
to
9703d55
Compare
ccd1842
to
5918f21
Compare
5918f21
to
b3bb748
Compare
|
|
otherwise this basically LGTM |
c8333a0
to
5c99884
Compare
|
/release-note-none |
|
/lgtm ( agree with @ixdy ) |
5c99884
to
dc20606
Compare
dc20606
to
bb59d44
Compare
|
Small change because pull-kubernetes-verify was failing. ( was calling panic with only one param in manifest.go ) |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adelina-t, dims, ixdy The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest Review the full test history for this PR. Silence the bot with an |
|
/retest |
2 similar comments
|
/retest |
|
/retest |
|
@adelina-t: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
|
/retest Review the full test history for this PR. Silence the bot with an |
Make image registries used by e2e tests configurable via a registry.yaml file. File path is sent via env variable. If no such variable is set, registry names default to the ones already defined.
Fixes #60487