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

Libpod images pull changes #11154

Merged
merged 1 commit into from
Aug 16, 2021
Merged

Libpod images pull changes #11154

merged 1 commit into from
Aug 16, 2021

Conversation

cdoern
Copy link
Contributor

@cdoern cdoern commented Aug 6, 2021

Added quiet param to docs to limit stream output. Formatted JSON.

This is a breaking change for podman 4.0 as it changes the output of the libpod API, but I believe this makes it function more similarly to native podman pull.

fixes #10612

Signed-off-by: cdoern [email protected]

@cdoern cdoern added the 4.0 label Aug 6, 2021
@TomSweeneyRedHat
Copy link
Member

Changes LGTM, but tests aren't buying them

@cdoern
Copy link
Contributor Author

cdoern commented Aug 9, 2021

@TomSweeneyRedHat strange, it was failing the images pull bindings test because it was returning 0 images instead of 1 even though it found the image... Possible it was a flake, I added an integration test as well to check quiet, will see if it fails again

@jwhonce
Copy link
Member

jwhonce commented Aug 9, 2021

@cdoern Why cache pull output vs. streaming it to client? What is the benefit? You are increasing the amount of memory needed by server and breaking API.

@cdoern
Copy link
Contributor Author

cdoern commented Aug 9, 2021

@jwhonce main reason for caching it was for the --quiet flag, so user can still see what was streamed but not as a live thread. I can just take it out all together and --quiet removes all mentions of stream?

@rhatdan
Copy link
Member

rhatdan commented Aug 9, 2021

SGTM

Added quiet param to docs to limit stream output. Formatted JSON.

fixes containers#10612

Signed-off-by: cdoern <[email protected]>
Signed-off-by: cdoern <[email protected]>
@cdoern
Copy link
Contributor Author

cdoern commented Aug 11, 2021

@rhatdan @jwhonce does failing test look like a flake? most of the fails on on play kube which doesn't make much sense to me why that would be failing. But it has a failed a few times now.

@jwhonce
Copy link
Member

jwhonce commented Aug 11, 2021

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 11, 2021
@mheon
Copy link
Member

mheon commented Aug 16, 2021

/approve
LGTM

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 16, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cdoern, mheon

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 16, 2021
@openshift-ci openshift-ci bot merged commit 8c228bd into containers:main Aug 16, 2021
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Podman image pull" API returns wrong response type and content
5 participants