-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Fix an issue with podman save trying to store signatures #11669
Conversation
Signed-off-by: Frederic Giloux <[email protected]>
@mtrmac @vrothberg PTAL |
I think I have seen something like this in the CI/CD system when run locally as well. |
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.
Thank you! The changes work perfectly fine here but it does not catch all execution paths. I think we should flip the switch in libimage
. @mtrmac WDYT?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fgiloux, vrothberg 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 |
History: If I’m reading the history correctly, #7956 did hard-code Tests: … but I also wonder why the API: Isn’t Behavior: I could conceptually see the case for either adding a I guess if we don’t ask for an explicit opt-in, it would be cleaner for the knowledge about which formats don’t support signatures to be captured captured in So I think ideally the Podman CLI should set a new |
SGTM |
Thanks for kicking things off, @fgiloux! Given the v3.4 release is just around the corner, I will take over and kick it over the finish line. |
Very good! I am very impressed by your reactivity and the thoughts that have been given into this. You rock. |
Enforce the removal of signatures in `podman save` to restore behavior prior to the migration to libimage. We may consider improving on that in the future. For details, please refer to the excellent summary by @mtrmac [1]. [NO TESTS NEEDED] - manually verified but exisiting tests need some further investigation (see [1]). [1] containers#11669 (comment) Signed-off-by: Valentin Rothberg <[email protected]>
Actually |
Enforce the removal of signatures in `podman save` to restore behavior prior to the migration to libimage. We may consider improving on that in the future. For details, please refer to the excellent summary by @mtrmac [1]. [NO TESTS NEEDED] - manually verified but exisiting tests need some further investigation (see [1]). [1] containers#11669 (comment) Signed-off-by: Valentin Rothberg <[email protected]>
Issue
Running the following command:
I get:
This is similar to what was raised in this issue and should have been fixed with this PR
Applying this one line code change fixed the issue for me however I am not knowledgeable enough about podman code base to be confident that it is the right way of doing it.