Kubespray image-builder presubmit canary build validation#36692
Conversation
|
Welcome @Srishti-j18! |
|
Hi @Srishti-j18. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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-sigs/prow repository. |
|
/uncc atoms |
| - -ceu | ||
| - | | ||
| cd test-infra/image-builder | ||
| ansible-playbook --syntax-check -i hosts.ini cluster.yml |
There was a problem hiding this comment.
This should have the -e kubevirt_images_push=false ?
There was a problem hiding this comment.
I didn’t add it initially because --syntax-check does not execute the push tasks, but yes, we can add -e kubevirt_images_push=false to make the non-push intent explicit.
|
Oh I was wondering about the --syntax-check, does it skip the build as
well ?
|
|
Yes, I saw here- |
|
Let's drop it then, we do want to validate the build works. |
00967f0 to
5a107f3
Compare
|
/cc @tico88612 @yankay @VannTen Hi , After kubernetes-sigs/kubespray#13128, this is the follow-up PR for review. Please take a look if you find time. |
|
/test pull-kubespray-kubevirt-image-builder-validate |
|
@Srishti-j18: Cannot trigger testing until a trusted user reviews the PR and leaves an DetailsIn 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-sigs/prow repository. |
|
/ok-to-test |
|
/test pull-kubespray-kubevirt-image-builder-validate |
|
@Srishti-j18: The specified target(s) for Use DetailsIn 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-sigs/prow repository. |
|
/test pull-kubespray-yamllint |
|
@Srishti-j18: The specified target(s) for Use DetailsIn 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-sigs/prow repository. |
|
On a So, do we have no way to test this before the merge? Does this mean |
Yes, at least, that's how I understand it. |
| decorate: true | ||
| spec: | ||
| containers: | ||
| - image: quay.io/kubespray/kubespray:v2.13.0 |
There was a problem hiding this comment.
Not sure why we need that specific tag, it's kinda ancient ?
A generic Ansible image (if there is such a thing) would probably do the job.
Let's merge like this for now and iterate as needed.
There was a problem hiding this comment.
Yeah, I mostly followed the existing pattern here to keep the change low-risk. I can update it in the next round of changes.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Srishti-j18, VannTen The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
@Srishti-j18: Updated the
DetailsIn 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-sigs/prow repository. |
What this PR does / why we need it
This PR adds a Kubespray presubmit job to validate
test-infra/image-builder.I’m raising this as part of the Kubespray CI automation work tracked in:
This is safe and useful regardless of the final registry migration path (related discussion: kubernetes-sigs/kubespray#13105).
Note on runtime image
This job uses the existing Kubespray presubmit runtime image:
quay.io/kubespray/kubespray:v2.13.0This is intentional for low risk and consistency with current jobs. Any runtime image/registry migration will be handled in follow-up work after a decision is made in kubernetes-sigs/kubespray#13105.