-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #101 from sudo-bmitch/pr-olareg
Conformance results for olareg
- Loading branch information
Showing
5 changed files
with
5,122 additions
and
0 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
[![CI & Conformance Tests](https://github.com/olareg/olareg/actions/workflows/ci-conformance.yml/badge.svg)](https://github.com/olareg/olareg/actions/workflows/ci-conformance.yml) |
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,8 @@ | ||
vendor: olareg project | ||
name: olareg | ||
version: v0.1.0 | ||
website_url: https://github.com/olareg/olareg | ||
repo_url: https://github.com/olareg/olareg | ||
documentation_url: https://github.com/olareg/olareg | ||
type: distribution | ||
description: 'A minimal OCI conformant container registry designed around the OCI Layout structure for storing images in a directory.' |
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,39 @@ | ||
# olareg | ||
|
||
## Running olareg as a Container | ||
|
||
```shell | ||
docker run -d --rm -p 127.0.0.1:5000:5000 ghcr.io/olareg/olareg:edge serve | ||
``` | ||
|
||
## Run the Conformance Tests | ||
|
||
```shell | ||
cd distribution-spec | ||
make conformance-binary | ||
( | ||
[ -d conformance/results ] || mkdir -p conformance/results | ||
cd conformance/results | ||
OCI_ROOT_URL="http://localhost:5000" \ | ||
OCI_NAMESPACE="myorg/myrepo" \ | ||
OCI_CROSSMOUNT_NAMESPACE="myorg/other" \ | ||
OCI_TEST_PULL=1 \ | ||
OCI_TEST_PUSH=1 \ | ||
OCI_TEST_CONTENT_DISCOVERY=1 \ | ||
OCI_TEST_CONTENT_MANAGEMENT=1 \ | ||
OCI_HIDE_SKIPPED_WORKFLOWS=0 \ | ||
OCI_DEBUG=0 \ | ||
OCI_DELETE_MANIFEST_BEFORE_BLOBS=1 \ | ||
../../output/conformance.test | ||
) | ||
``` | ||
|
||
This should produce the following results: | ||
|
||
```text | ||
Ran 74 of 80 Specs in 0.278 seconds | ||
SUCCESS! -- 74 Passed | 0 Failed | 0 Pending | 6 Skipped | ||
PASS | ||
``` | ||
|
||
More details can be found in the resulting `report.html`. |
Oops, something went wrong.