-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Basic OCI conformance tests passing (#396)
- Loading branch information
Showing
23 changed files
with
207 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ data | |
target | ||
certs/ca.crt | ||
certs/domain.key | ||
conformance.test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,3 +27,4 @@ tmp/ | |
.idea | ||
.vs | ||
.DS_Store | ||
conformance.test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -euo pipefail | ||
|
||
if [ ! -f conformance.test ]; then | ||
CONT=$(podman create ghcr.io/opencontainers/distribution-spec/conformance:v1.1.0) | ||
podman cp $CONT:/conformance.test . | ||
podman rm $CONT | ||
fi | ||
|
||
export OCI_ROOT_URL="http://127.0.0.1:8000" | ||
export OCI_NAMESPACE="oci-conformance/distribution-test" | ||
|
||
export OCI_TEST_PULL=1 | ||
export OCI_TEST_PUSH=1 | ||
export OCI_TEST_CONTENT_MANAGEMENT=1 | ||
export OCI_TEST_CONTENT_DISCOVERY=1 | ||
export OCI_TEST_CONTENT_MANAGEMENT=1 | ||
export OCI_HIDE_SKIPPED_WORKFLOWS=0 | ||
|
||
echo "Checking conformance against https://github.com/opencontainers/distribution-spec/blob/main/spec.md" | ||
./conformance.test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.