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

Add support for OCI Distribution Specification 1.1 #422

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- [#421](https://github.com/spegel-org/spegel/pull/421) Add conformance tests to e2e test.
- [#422](https://github.com/spegel-org/spegel/pull/422) Add support for OCI Distribution Specification 1.1.

### Changed

Expand Down
6 changes: 5 additions & 1 deletion test/e2e/conformance-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ spec:
- name: conformance
image: ghcr.io/spegel-org/conformance:75d2816
env:
- name: OCI_TEST_PULL
- name: "OCI_TEST_PULL"
value: "1"
- name: "OCI_TEST_CONTENT_DISCOVERY"
value: "1"
- name: "OCI_ROOT_URL"
value: "http://spegel-registry.spegel.svc.cluster.local.:5000"
Expand All @@ -26,3 +28,5 @@ spec:
value: "sha256:db345982a2f2a4257c6f699a499feb1d79451a1305e8022f16456ddc3ad6b94c"
- name: "OCI_BLOB_DIGEST"
value: "sha256:461246efe0a75316d99afdbf348f7063b57b0caeee8daab775f1f08152ea36f4"
- name: "OCI_TAG_LIST"
value: "1.22.0,1.23.0"
1 change: 1 addition & 0 deletions test/e2e/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ docker exec kind-worker2 bash -c "mkdir -p /etc/containerd/certs.d/docker.io; ec

# Pull images onto single node which will never run workload.
docker exec kind-worker ctr -n k8s.io image pull ghcr.io/spegel-org/conformance:75d2816
docker exec kind-worker ctr -n k8s.io image pull docker.io/library/nginx:1.22.0
docker exec kind-worker ctr -n k8s.io image pull docker.io/library/nginx:1.23.0
docker exec kind-worker ctr -n k8s.io image pull docker.io/library/nginx@sha256:b3a676a9145dc005062d5e79b92d90574fb3bf2396f4913dc1732f9065f55c4b
docker exec kind-worker ctr -n k8s.io image pull mcr.microsoft.com/containernetworking/azure-cns@sha256:7944413c630746a35d5596f56093706e8d6a3db0569bec0c8e58323f965f7416
Expand Down
Loading