Containerfile: trail FROM builder - #344
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR updates the Containerfile so that environments which only consume the last stage of a multi-stage build (and don’t support --target) will now get the artifacts from the existing builder stage instead of the final compute-pcrs stage. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Since CI now depends on the
builderstage being the final one, consider adding a brief comment near thebuilderstage definition explaining that it is consumed as the last stage in target-less environments to prevent future refactors from unintentionally breaking this behavior.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Since CI now depends on the `builder` stage being the final one, consider adding a brief comment near the `builder` stage definition explaining that it is consumed as the last stage in target-less environments to prevent future refactors from unintentionally breaking this behavior.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
@Jakob-Naucke Then if you add P.S. |
Allow environments without --target support, which only read the last stage, to read from the specified stage Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
|
@yairpod oh neat, that is cleaner. In that case I even think we should be able to go without duplicating the RV clone logic |
1c2df86 to
513c171
Compare
Yes, no duplication should be needed, just : |
|
@Jakob-Naucke: The following tests failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Jakob-Naucke, yairpod The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
54653ee
into
trusted-execution-clusters:main
Allow environments without --target support, which only read the last stage, to read from the builder stage
To reviewers: I f.d up a little in #318 when I said we could set the build_args in OpenShift CI -- that's only for container build args (like
BUILD_TYPE), and targets do not appear to be supported. The proposed change that would consume this is openshift/release#83720. If you think that's mighty ugly, I'm not aware of an option besides reverting or setting up a registry for the job to use by itself 😕Summary by Sourcery
Enhancements: