-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
feat: support for multiple images to kind load #1920
feat: support for multiple images to kind load #1920
Conversation
Welcome @yashvardhan-kukreja! |
Hi @yashvardhan-kukreja. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
fns = append(fns, func() error { | ||
return loadImage(imageTarPath, selectedNode) | ||
}) | ||
} |
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.
potentially, this code (the saving / loading) can be made to run in parallel via UntilErrorConcurrent:
Line 25 in a2282e9
func UntilErrorConcurrent(funcs []func() error) error { |
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.
alright. I made the changes and brought the code performing the "saving of image into tar" just along the code where loading of images is happening. (Just above return loadImage(imageTarPath, selectedNode)
)
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.
saving + loading in the same fn
"should" work as long as the docker engine is fine with that.
8341407
to
9c99d06
Compare
9c99d06
to
04ccdff
Compare
please, keep the commits squashed to one. /ok-to-test |
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.
/lgtm
/assign @BenTheElder
b0ac137
to
c7a00f8
Compare
New changes are detected. LGTM label has been removed. |
squashed... the lgtm label got removed. Don't know if that's ok or not. |
it's fine. pending review from @BenTheElder |
yes. And in the above conversation and in the issue's description too, the former approach of separate args was suggested and asked for. :) |
And that's the change I made in the latest commit. So, it's working as expected :) |
@neolit123 @aojea , sorry for pestering but can u please review this? 🙈 |
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.
LGTM
e55c625
to
e85ba85
Compare
e85ba85
to
392d828
Compare
/retest |
Please have a look at this PR @BenTheElder . It has already received one LGTM status. |
/joke Please ignore this. I just came to know about this k8s-bot's command and wanted to try it. 🙈 |
@yashvardhan-kukreja: Remember, the best angle to approach a problem from is the "try" angle. In response to this:
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. |
Also ignore this, if we're demoing prow features, this is always a must /meow |
In response to this:
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. |
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.
(See comment on your other PR) And thank you!
two nits we can address in follow-up given this lengthy delay 😞
@BenTheElder I have the changes ready as per my above comments. If these sound good, let me know, I ll push them under this PR : ) |
392d828
to
134778d
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: yashvardhan-kukreja The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
test flakes are known / unrelated, don't worry about that. |
134778d
to
ac85114
Compare
…ments to 'kind load docker-image ' command
ac85114
to
d3327a3
Compare
@yashvardhan-kukreja: The following tests 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. |
closes #1905
Usage:
Multiple image names provided (all images present locally):
Multiple image names provided (all images are not present locally):
One image name provided without commas (backwards compatibility):