OCI Distribution Conformance Tests

Summary
27 passed38 skipped
Start Time Nov 9 10:49:05.510 +0100 CET
End Time Nov 9 10:49:36.788 +0100 CET
Time Elapsed 31.277735833s
Test Version unknown
Configuration
OCI_ROOT_URL=https://metahub-registry.org
OCI_NAMESPACE=oci/conformance
OCI_USERNAME=*****
OCI_PASSWORD=*****
OCI_DEBUG=0
OCI_TEST_PULL=1
OCI_TEST_PUSH=0
OCI_TEST_CONTENT_DISCOVERY=1
OCI_TEST_CONTENT_MANAGEMENT=0
OCI_HIDE_SKIPPED_WORKFLOWS=1

Pull

Setup

+

Populate registry with test blob


+

Populate registry with test layer


+

Populate registry with test manifest


+

Get the name of a tag


+

Get tag name from environment



Pull blobs

+

HEAD request to nonexistent blob should result in 404 response


+

HEAD request to existing blob should yield 200


+

GET nonexistent blob should result in 404 response


+

GET request to existing blob URL should yield 200



Pull manifests

+

HEAD request to nonexistent manifest should return 404


+

HEAD request to manifest path (digest) should yield 200 response


+

HEAD request to manifest path (tag) should yield 200 response


+

GET nonexistent manifest should return 404


+

GET request to manifest path (digest) should yield 200 response


+

GET request to manifest path (tag) should yield 200 response



Error codes

+

400 response body should contain OCI-conforming JSON message



Teardown

+

Delete config blob created in setup


+

Delete layer blob created in setup


+

Delete manifest created in setup



Content Discovery

Setup

+

Populate registry with test blob


+

Populate registry with test layer


+

Populate registry with test tags


+

Populate registry with test tags (no push)



Test content discovery endpoints

+

GET request to list tags should yield 200 response


+

GET number of tags should be limitable by `n` query parameter


+

GET start of tag is set by `last` query parameter



Teardown

+

Delete config blob created in tests


+

Delete layer blob created in setup


+

Delete created manifest & associated tags