-
Notifications
You must be signed in to change notification settings - Fork 184
cmd-build-with-buildah: retain overrides/ API functionality #4256
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
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.
Code Review
This pull request correctly implements the overrides/ API functionality for cmd-build-with-buildah, aligning it with existing behavior in cosa. The change is straightforward and well-implemented. I have one suggestion to improve the robustness of the check for RPMs before creating a repository, which also improves consistency with other parts of the codebase.
`build-rootfs` in f-c-c learned a new `overrides/` API that matches how it works in cosa. Use that API to proxy through the cosa workdir `overrides/` dir.
46898b5 to
8549db6
Compare
Right now, it's an anonymous image, which is awkward. Just add a proper
tag for it so it can more easily be used as is.
I initially tried to just add another `-t` so buildah would output both
a containers-storage tag and an OCI archive, but buildah gets confused
by the first `-t` referring to an OCI archive:
WARN[0001] don't know how to add tags to images stored in "oci-archive" transport
Will file an issue at some point.
While we're here, also echo the buildah command being run.
This is used by the pipeline for some reason. We could probably rip it out of there, but the dev case I think has value, so just add it.
My Python LSP is complaining about this.
This is known to not work but let's just no-op for now here instead of having to add conditional logic in the pipeline.
|
I have local overrides from the recent Ignition PoC I was doing: Which seems to hit an error when building: |
|
I ran with the updates from
and everything worked great! |
build-rootfsin f-c-c learned a newoverrides/API that matches how it works in cosa. Use that API to proxy through the cosa workdiroverrides/dir.