-
Notifications
You must be signed in to change notification settings - Fork 786
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
manifest: Make sure manifest rm
only removes manifests not referenced images.
#3492
manifest: Make sure manifest rm
only removes manifests not referenced images.
#3492
Conversation
I need to change |
could you split the common upgrade to a different commit? |
Sure. |
Signed-off-by: Aditya Rajan <[email protected]>
76f4b55
to
4f50ba4
Compare
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.
One addition to the test, other than that, LGTM
Nice work!
3dd07a6
to
c84c568
Compare
@vrothberg @giuseppe PTAL |
@nalind @ashley-cui PTAL |
run_buildah manifest rm manifestsample | ||
# Since actual list is getting removed it will also print the image id of list | ||
# So check for substring instead of exact match | ||
expect_output --substring "untagged: localhost/manifestsample:latest" |
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.
Unless this is covered by another test, verifying that the image we added to the list (busybox) is still present would at least make me feel better.
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.
Following commit makes sure that `buildah manifest rm <list>` only removes the manifest list not referenced images. Signed-off-by: Aditya Rajan <[email protected]>
c84c568
to
f037ce4
Compare
@nalind @ashley-cui @giuseppe PTAL |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: flouthoc, rhatdan 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 |
Following PR makes sure that
buildah manifest rm <list>
only removesthe manifest list not referenced images.
Depends on: containers/common#753