Skip to content
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

Buildah inspect should be able to inspect manifests #2894

Merged
merged 1 commit into from
Jan 8, 2021

Conversation

rhatdan
Copy link
Member

@rhatdan rhatdan commented Jan 7, 2021

When you create a manifest or pull a manifest, it shows up
inside of the buildah images list. When you go to inspect it
the inspect code blows up with a cryptic error message.

This patch fixes this problem and just uses the buildah manifest inspect
code.

Signed-off-by: Daniel J Walsh [email protected]

What type of PR is this?

/kind api-change
/kind bug
/kind cleanup
/kind deprecation
/kind design
/kind documentation
/kind failing-test
/kind feature
/kind flake
/kind other

What this PR does / why we need it:

How to verify it

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?


@rhatdan rhatdan requested a review from nalind January 7, 2021 12:31
@rhatdan rhatdan added the todo-backport-to-1.19 We should do or consider a backport to 1.19. Remove when we either decide not to, or open a PR. label Jan 7, 2021
@rhatdan
Copy link
Member Author

rhatdan commented Jan 7, 2021

Copy link
Member

@giuseppe giuseppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: giuseppe, 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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rhatdan rhatdan force-pushed the inspect branch 2 times, most recently from 1461095 to 9d8345e Compare January 7, 2021 19:45
Prints the low-level information on Buildah object(s) (e.g. container, images) identified by name or ID. By default, this will render all results in a
JSON array. If the container and image have the same name, this will return container JSON for unspecified type. If a format is specified,
Prints the low-level information on Buildah object(s) (e.g. container, images, manifests) identified by name or ID. By default, this will render all results in a
JSON array. If the container and image or manifest have the same name, this will return container JSON for unspecified type. If a format is specified,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
JSON array. If the container and image or manifest have the same name, this will return container JSON for unspecified type. If a format is specified,
JSON array. If the container, image, or manifest have the same name, this will return container JSON for an unspecified type. If a format is specified,

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"manifest list", or "list", please, plural if need be.

@TomSweeneyRedHat
Copy link
Member

gce failed. One small suggestion.
LGTM otherwise.

When you create a manifest or pull a manifest, it shows up
inside of the buildah images list.  When you go to inspect it
the inspect code blows up with a cryptic error message.

This patch fixes this problem and just uses the buildah manifest inspect
code.

Signed-off-by: Daniel J Walsh <[email protected]>
@rhatdan rhatdan added the lgtm label Jan 8, 2021
@openshift-merge-robot openshift-merge-robot merged commit ddcbb30 into containers:master Jan 8, 2021
@nalind nalind removed the todo-backport-to-1.19 We should do or consider a backport to 1.19. Remove when we either decide not to, or open a PR. label Jan 14, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants