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

integration-cli: remove manifest v2 schema 1 push tests #43029

Merged
merged 1 commit into from Nov 18, 2021

Conversation

thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented Nov 18, 2021

Pushing manifest v2, schema 1 images has been deprecated in commits 4866f51 (#39365) and 6302dbb (#41295) (docker 20.10). While it's still used in some tests to provision a legacy registry to test pulling legacy images (which is still "supported"), we should no longer have to validate pushing for other scenarios.

This patch removes the schema 1 push tests, and inlines the code that was extracted in non-exported functions (for them to be shared between schema 2 and schema 1 tests).

Relates to:

- A picture of a cute animal (not mandatory but encouraged)

Pushing manifest v2, schema 1 images has been deprecated in commit
6302dbb (docker 20.10). It's still used in
some tests to provision a legacy registry to test _pulling_ legacy images
(which is still "supported"), but we should no longer have to validate pushing
for other scenarios.

This patch removes the schema 1 push tests, and inlines the code that was
extracted in non-exported functions (for them to be shared between schema 2 and
schema 1 tests).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Copy link
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

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

LGTM

@thaJeztah
Copy link
Member Author

Bringing this one in; CI failures are "related" but false detection of "new tests added to integration-cli"

@thaJeztah thaJeztah merged commit c0f93c7 into moby:master Nov 18, 2021
@thaJeztah thaJeztah deleted the remove_v1_push_tests branch November 18, 2021 20:52
@thaJeztah thaJeztah added this to the 21.xx milestone Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants