Skip to content

Commit

Permalink
Merge pull request #101 from sudo-bmitch/pr-olareg
Browse files Browse the repository at this point in the history
Conformance results for olareg
  • Loading branch information
tianon committed Jun 27, 2024
2 parents 2f39348 + 14c0aea commit 08951ff
Show file tree
Hide file tree
Showing 5 changed files with 5,122 additions and 0 deletions.
1 change: 1 addition & 0 deletions distribution-spec/live/olareg/badges.md
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)
8 changes: 8 additions & 0 deletions distribution-spec/v1.1/olareg/PRODUCT.yaml
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.'
39 changes: 39 additions & 0 deletions distribution-spec/v1.1/olareg/README.md
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`.
Loading

0 comments on commit 08951ff

Please sign in to comment.