-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Make #19601 backward compatible. #20710
Make #19601 backward compatible. #20710
Conversation
Labelling this PR as size/XS |
GCE e2e test build/test passed for commit 4b58f680412f8ffb1e356c0ed72b6285bc3e8ee1. |
# If we have these variables set then we want to build all docker images. | ||
# Since regular build functions above don't build hyperkube we need to do | ||
# it manually. | ||
if [[ -n "${KUBE_DOCKER_IMAGE_TAG-}" && -n "${KUBE_DOCKER_REGISTRY-}" ]]; then |
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.
Apologies in advance for the naive questions.
Is there a better place for this? Could this go into kube::build::docker_build or another function that builds a list of passed in cluster/images directories? I don't know know all of the relationships yet, so I don't know what is appropriate.
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.
+1. The build logic is well-factored, and I'd like to keep it that way.
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.
Is this PR good to go?
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.
Maybe my comment wasn't clear. I agree with @david-mcmahon; this should have a different home.
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.
@david-mcmahon kube::build::docker_build
is a generic method for building docker images.
@ihmccreery Do you have some suggestions where this should go?
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.
How about kube::release::package_hyberkube
?
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.
Done.
4b58f68
to
dcefb07
Compare
Labelling this PR as size/S |
GCE e2e test build/test passed for commit dcefb0748f812b436720c141141981b41788413a. |
LGTM. I'd like to see a comment about how this will skip silently if |
Yes a 'TODO: Comment' would be best to get attention on it later. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit dcefb0748f812b436720c141141981b41788413a. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test failed for commit dcefb0748f812b436720c141141981b41788413a. |
ping. Can we get this in? |
@k8s-bot test this issue: #IGNORE |
GCE e2e build/test failed for commit dcefb0748f812b436720c141141981b41788413a. |
GCE e2e test build/test passed for commit dcefb0748f812b436720c141141981b41788413a. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit dcefb0748f812b436720c141141981b41788413a. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e test build/test passed for commit dcefb0748f812b436720c141141981b41788413a. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
PR needs rebase |
GCE e2e test build/test passed for commit dcefb0748f812b436720c141141981b41788413a. |
dcefb07
to
6f6cb45
Compare
PR changed after LGTM, removing LGTM. |
GCE e2e test build/test passed for commit 6f6cb45. |
Make #19601 backward compatible.
Move building
hyperkube
image tomake release
to make it backward compatible in release process.Fixes #20047