-
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
Add minikube build in prow #22051
Add minikube build in prow #22051
Conversation
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.
even though I am not an approver here, but as minikube maintainer I support this PR ! thank you @azhao155 for this effort
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.
@medyagh @azhao155 can you please also add config/jobs/kubernetes/minikube/OWNERS
to this PR so that minikube maintainers can approve future job changes that are relevant to their repo?
I don't have a strong preference who's in it, but a good start might be https://github.com/kubernetes/minikube/blob/c367472f43110f2bef4a1220092e7ccc9dc247e0/OWNERS#L13-L18 and/or sig-cluster-lifecycle-leads
since minikube is a sig-cluster-lifecycle subproject (cc @neolit123)
preset-dind-enabled: "true" | ||
spec: | ||
containers: | ||
- image: docker.io/azhao155/prow-test:1.7 |
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.
Please don't use a dockerhub-hosted image, or an image from a personal project/repo. Whatever was used to produce this image needs to be open-source and reproducible by others.
What needs to be in this image, and does one of the existing images in gcr.io/k8s-testimages satisfy your needs? If not, what is missing?
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.
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.
Updated image and add OWNER file.
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.
Owners LGTM but still have some open questions
preset-dind-enabled: "true" | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-minikube/prow-test:v0.0.1 |
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.
Where is the source for this image? How can we independently reproduce this image? Let alone ensure there's not a Bitcoin miner tucked inside (not suggesting you would do this, just giving a colorful example). I consider this a blocker.
And again, what does this image have that is missing from the existing set of images available at gcr.io/k8s-testimages? Could we use one of those instead? I don't consider this a blocker.
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.
- This is the image: https://github.com/kubernetes/minikube/tree/master/deploy/prow. If you want to build it. Just need to download minikube git repo and make push-prow-test-image.
- I haven't looked images gcr.io/k8s-testimages, There might be one i could use. The reason why we keep our own images for minikube is that we want to have everything managed on our own instead of have some dependency from some other images.
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.
SGTM, thanks for the answers.
it might be worth considering an image-pushing job and moving the image to community-hosted infrastructure at some point (ref: https://github.com/kubernetes/test-infra/tree/master/config/jobs/image-pushing#image-pushing-jobs)
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.
Sure, will work on that for the next pr, Thanks for the info!
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.
Now it's merged, will the prow job run on every minikube pr? Or do i need to configure something to make the prow job run on every minikube pr? Thanks!
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.
/approve
/lgtm
preset-dind-enabled: "true" | ||
spec: | ||
containers: | ||
- image: gcr.io/k8s-minikube/prow-test:v0.0.1 |
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.
SGTM, thanks for the answers.
it might be worth considering an image-pushing job and moving the image to community-hosted infrastructure at some point (ref: https://github.com/kubernetes/test-infra/tree/master/config/jobs/image-pushing#image-pushing-jobs)
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: azhao155, medyagh, spiffxp 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 |
@azhao155: Updated the
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. |
Tested with
Build job
Run