forked from opencontainers/distribution-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite conformance action to enable locking to spec version
Signed-off-by: Josh Dolitsky <josh@dolit.ski>
- Loading branch information
1 parent
c410107
commit 393a1d9
Showing
5 changed files
with
120 additions
and
13 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,26 @@ | ||
name: conformance-action-pr | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout source code | ||
uses: actions/checkout@v3 | ||
- name: Start a test registry (zot) | ||
run: | | ||
set -x | ||
make registry-ci | ||
- name: Run OCI distribution-spec conformance | ||
env: | ||
OCI_ROOT_URL: http://localhost:5000 | ||
OCI_NAMESPACE: myorg/myrepo | ||
OCI_TEST_PULL: 1 | ||
OCI_TEST_PUSH: 1 | ||
OCI_TEST_CONTENT_DISCOVERY: 1 | ||
OCI_TEST_CONTENT_MANAGEMENT: 1 | ||
uses: ./ |
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,26 @@ | ||
name: conformance-action | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout source code | ||
uses: actions/checkout@v3 | ||
- name: Start a test registry (zot) | ||
run: | | ||
set -x | ||
make registry-ci | ||
- name: Run OCI distribution-spec conformance | ||
env: | ||
OCI_ROOT_URL: http://localhost:5000 | ||
OCI_NAMESPACE: myorg/myrepo | ||
OCI_TEST_PULL: 1 | ||
OCI_TEST_PUSH: 1 | ||
OCI_TEST_CONTENT_DISCOVERY: 1 | ||
OCI_TEST_CONTENT_MANAGEMENT: 1 | ||
uses: ./ |
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