-
Couldn't load subscription status.
- Fork 120
Add direct support to --manifest when building container images.
#596
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 direct support to --manifest when building container images.
#596
Conversation
|
/approve LGTM |
be4ae72 to
b027c54
Compare
|
Hi @jwhonce, Some more points concerning this PR.
Thanks for the review, and really really sorry for the extra noise! Edit: typos |
|
@MisterOwlPT It appears the commit linter is still not happy with your work. |
|
@jwhonce, Let me know if everything looks good to you. |
|
@MisterOwlPT your code is clean and linter is happy, nice job. I believe you need to rebase to main and fix the commits, I see the commit history is mixed with merged history, that's not clean and can't be merged. I tried to rebase locally, and this is what imho looks nicer in a single patch. what do you think? 0001-support-flag-manifest-when-building-container-images.patch |
6a83c35 to
64e82c2
Compare
Yes, sincere apologies for that! Let me know if something else is required. |
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.
great job with the commits, I found a thing that could break the expected behavior, please take a look and let me know
|
@MisterOwlPT all is good. let me just nitpick on the commits. we don't squash on merge, and the change looks nice on a single commit since it's all part of one added feature. would you do squash them, please? then I'll merge :D |
Signed-off-by: Pedro Pereira <augmented64chord@gmail.com>
64e82c2 to
cf1a777
Compare
Done! |
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.
At first glance, the code LGTM. Let's see what CI has to say.
Edit: approved CI passed
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: inknos, jwhonce, MisterOwlPT 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 |
Closes #592.
With the proposed changes it is now possible to create manifests and automatically add images to them as part of the build process (equivalent to
podman build --manifest ...).Running the previous code, all built images are automatically added to the provided manifest (which is also created if it does not exist already).
Changes:
--manifestargument into the expectedmanifestquery parameter when making requests;client.images.buildfunction as to refer to the newly support field. Description text extracted from the Podman CLI itself;--manifestargument is mapped into the expected query parameter;Looking forward to your feedback.