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

Not use local image create/add manifest #2824

Merged

Conversation

QiWang19
Copy link
Contributor

@QiWang19 QiWang19 commented Nov 25, 2020

Avoid first checking the image from local storage for manifest create and manifest add
since the local image does not include other entries of the list from the registry.
--all flag of manifest create and manifest add can not add all of the lists as expected.
So first attempt to get manifest from the registry and if not successful, fall back to use local images.

Signed-off-by: Qi Wang [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?


Avoid first checking the image from local storage for `manifest create` and `manifest add`
since the local image does not include other entries of the list from the registry.
`--all` flag of `manifest create` and `manifest add` can not add all of the lists as expected.
So first attempt to get manifest from the registry and if not successful, fall back to use local images.

Signed-off-by: Qi Wang <[email protected]>
@TomSweeneyRedHat
Copy link
Member

@QiWang19 does this address an issue or BZ? If so, please add a pointer to the description.

@QiWang19
Copy link
Contributor Author

@QiWang19 does this address an issue or BZ? If so, please add a pointer to the description.

This does not point to an issue. Just found this may cause problems when I debug other manifest issues.

@TomSweeneyRedHat
Copy link
Member

Changes LGTM, but definitely want a head nod from @nalind.

@rhatdan
Copy link
Member

rhatdan commented Dec 2, 2020

/approve
/lgtm

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: QiWang19, 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

@openshift-merge-robot openshift-merge-robot merged commit 75ae8be into containers:master Dec 2, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 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.

5 participants