-
Notifications
You must be signed in to change notification settings - Fork 460
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
Add support for specifying custom test container images. #855
Add support for specifying custom test container images. #855
Conversation
|
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. |
Welcome @aznashwan! |
@k8s-ci-robot CLA recheck please |
This patch makes the Windows Periodic workflow pass specific test images to CRITest. This will allow full control over the container images used in workflow runs as opposed to relying on the hardcoded defaults in `cri-tools` to be compatible with all the tested Windows releases. Depends-On: kubernetes-sigs/cri-tools#855 Signed-off-by: Nashwan Azhari <[email protected]>
This patch makes the Windows Periodic workflow pass specific test images to CRITest. This will allow full control over the container images used in workflow runs as opposed to relying on the hardcoded defaults in `cri-tools` to be compatible with all the tested Windows releases. Depends-On: kubernetes-sigs/cri-tools#855 Signed-off-by: Nashwan Azhari <[email protected]>
This patch makes the Windows Periodic workflow pass specific test images to CRITest. This will allow full control over the container images used in workflow runs as opposed to relying on the hardcoded defaults in `cri-tools` to be compatible with all the tested Windows releases. Depends-On: kubernetes-sigs/cri-tools#855 Signed-off-by: Nashwan Azhari <[email protected]>
fcabcac
to
fccfe65
Compare
Updated PR by:
|
This patch makes the Windows Periodic workflow pass specific test images to CRITest. This will allow full control over the container images used in workflow runs as opposed to relying on the hardcoded defaults in `cri-tools` to be compatible with all the tested Windows releases. Depends-On: kubernetes-sigs/cri-tools#855 Signed-off-by: Nashwan Azhari <[email protected]>
@k8s-ci-robot CLA recheck please? |
@k8s-ci-robot another recheck please? |
@aznashwan checking the EasyCLA logs and database, I don't see that you are authorized by EasyCLA. You can do one of two things:
Either or both will allow you to pass the EasyCLA authorization. |
@dealako many thanks for the quick follow-up, we'll get to looking into it on our end! |
This patch makes the Windows Periodic workflow pass specific test images to CRITest. This will allow full control over the container images used in workflow runs as opposed to relying on the hardcoded defaults in `cri-tools` to be compatible with all the tested Windows releases. Depends-On: kubernetes-sigs/cri-tools#855 Signed-off-by: Nashwan Azhari <[email protected]>
This patch makes the Windows Periodic workflow pass specific test images to CRITest. This will allow full control over the container images used in workflow runs as opposed to relying on the hardcoded defaults in `cri-tools` to be compatible with all the tested Windows releases. Depends-On: kubernetes-sigs/cri-tools#855 Signed-off-by: Nashwan Azhari <[email protected]>
@k8s-ci-robot /check-cla |
/check-cla |
1 similar comment
/check-cla |
This patch makes the Windows Periodic workflow pass specific test images to CRITest. This will allow full control over the container images used in workflow runs as opposed to relying on the hardcoded defaults in `cri-tools` to be compatible with all the tested Windows releases. Depends-On: kubernetes-sigs/cri-tools#855 Signed-off-by: Nashwan Azhari <[email protected]>
fccfe65
to
0472da6
Compare
Updated the PR to make the YAML tags conform to the linter's requirements. (namely had to un-capitalize the tags) I've also retested this PR as part of the Windows Periodic Workflow here. @feiskyer @Random-Liu considering that my CLA issues have been resolved and the PR is now hypothetically merge-able, could I please get some reviews on it? |
Triggering github actions now |
@@ -69,6 +81,7 @@ func RegisterFlags() { | |||
flag.StringVar(&TestContext.ReportPrefix, "report-prefix", "", "Optional prefix for JUnit XML reports. Default is empty, which doesn't prepend anything to the default name.") | |||
flag.StringVar(&TestContext.ReportDir, "report-dir", "", "Path to the directory where the JUnit XML reports should be saved. Default is empty, which doesn't generate these reports.") | |||
flag.StringVar(&TestContext.ImageServiceAddr, "image-endpoint", "", "Image service socket for client to connect.") | |||
flag.StringVar(&TestContext.TestImagesFilePath, "test-images-file", "", "Optional path to a YAML file containing references to custom container images to be used in tests.") |
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.
could you also update the docs for this new flag?
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.
Good catch, added here, thank you!
0472da6
to
4026dfb
Compare
@aznashwan I think you can re-push or close + re-open to trigger the CI. This should have fixed the critest dockershim failures. #867 |
This patch adds an optional `--test-images-file` argument for specifying the path to a YAML file containing custom container image references to be used in tests. Initial user-overridable image keys being `defaultTestContainerImage` (the image used in the majority of tests), and `webServerTestImage` (which is used in Networking-related tests) Signed-off-by: Nashwan Azhari <[email protected]>
4026dfb
to
7bbcf89
Compare
reruning the tests now |
Could I get a recheck on this please? |
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.
sorry for the delay
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aznashwan, feiskyer 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 |
This patch makes the Windows Periodic workflow pass specific test images to CRITest. This will allow full control over the container images used in workflow runs as opposed to relying on the hardcoded defaults in `cri-tools` to be compatible with all the tested Windows releases. Depends-On: kubernetes-sigs/cri-tools#855 Signed-off-by: Nashwan Azhari <[email protected]>
This patch makes the Windows Periodic workflow pass specific test images to CRITest. This will allow full control over the container images used in workflow runs as opposed to relying on the hardcoded defaults in `cri-tools` to be compatible with all the tested Windows releases. Depends-On: kubernetes-sigs/cri-tools#855 Signed-off-by: Nashwan Azhari <[email protected]>
This patch makes the Windows Periodic workflow pass specific test images to CRITest. This will allow full control over the container images used in workflow runs as opposed to relying on the hardcoded defaults in `cri-tools` to be compatible with all the tested Windows releases. Depends-On: kubernetes-sigs/cri-tools#855 Signed-off-by: Nashwan Azhari <[email protected]>
This patch makes the Windows Periodic workflow pass specific test images to CRITest. This will allow full control over the container images used in workflow runs as opposed to relying on the hardcoded defaults in `cri-tools` to be compatible with all the tested Windows releases. Depends-On: kubernetes-sigs/cri-tools#855 Signed-off-by: Nashwan Azhari <[email protected]>
What type of PR is this?
/kind feature
What this PR does / why we need it:
This patch adds an optional
--test-images-file
argument for specifying the path to a YAML file containing custom container image references to be used in tests.This will allow for user selection of more recent or even custom test images, as well as prevent the need to update/re-ship
cri-tools
in case of issues related to the currently-hardcoded default images. (e.g. updating their manifests for new Window releases, see #853 )Which issue(s) this PR fixes:
None.
Special notes for your reviewer:
None.
Does this PR introduce a user-facing change?