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

conformance: pull tests shouldn't rely on tag listing #476

Conversation

waynr
Copy link
Contributor

@waynr waynr commented Oct 3, 2023

I don't have a fully-implemented container registry yet. I am implementing
endpoints incrementally in order to work toward a fully-functioning
implementation of the spec. This PR removes call to the tag listing endpoint
that was erroneously being relied on to determine the name of a valid tag to
pull.

Instead, I replaced a tag := ... with a tag = ... in an earlier ginkgo case
in order to set the outer scopoed tag variable used in subsequent tagged
manifest HEAD call. I suspect the tag listing endpoint was added here to
address this apparent := vs = bug.

@sudo-bmitch
Copy link
Contributor

I haven't had a chance to give this a full review, but CI is failing on the change.

@waynr
Copy link
Contributor Author

waynr commented Oct 3, 2023

@sudo-bmitch thanks for the heads up, i pushed a commit to fix it.

@sudo-bmitch
Copy link
Contributor

@waynr waynr force-pushed the dont-rely-on-tag-listing-in-manifest-pull-test branch from fe58bc6 to c758964 Compare October 8, 2023 16:33
@waynr
Copy link
Contributor Author

waynr commented Oct 8, 2023

@sudo-bmitch done, thanks!

Copy link
Contributor

@sudo-bmitch sudo-bmitch left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@jdolitsky jdolitsky merged commit d679e21 into opencontainers:main Apr 25, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants