-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
None
-
False
-
None
-
False
-
PROJQUAY-4657 - Implement OCI 1.1
Quay caches information about tags for about a minute. OCI conformance tests check that deleted tags are not present in the tag list, and it fails because of the caching.
Steps to reproduce:
QUAY_CREDS=quay:password QUAY_HOSTNAME=localhost:8080 QUAY_REPO=quay/test skopeo copy --dest-tls-verify=false --dest-creds="$QUAY_CREDS" --override-os=linux docker://busybox docker://$QUAY_HOSTNAME/$QUAY_REPO skopeo delete --tls-verify=false --creds="$QUAY_CREDS" docker://$QUAY_HOSTNAME/$QUAY_REPO skopeo list-tags --tls-verify=false --creds="$QUAY_CREDS" docker://$QUAY_HOSTNAME/$QUAY_REPO
Expected output:
{ "Repository": "localhost:8080/quay/test", "Tags": [] }
Actual output:
{ "Repository": "localhost:8080/quay/test", "Tags": [ "latest" ] }
Additional info:
The conformance test: https://github.com/opencontainers/distribution-spec/blob/dd38b7ed8a995fc2f6e730a4deae60e2c0ee92fe/conformance/04_management_test.go#L128-L139