Skip to content

Commit

Permalink
bump: upgrade default Notation to v1.2.0 (#79)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Zheng <[email protected]>
  • Loading branch information
Two-Hearts authored Sep 12, 2024
1 parent 37313fa commit 91a70f1
Show file tree
Hide file tree
Showing 82 changed files with 3,188 additions and 680 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/e2e-test-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ jobs:
- name: Setup Notation using URL
uses: ./setup
with:
url: https://github.com/notaryproject/notation/releases/download/v1.1.1/notation_1.1.1_linux_amd64.tar.gz
checksum: de5f9845505b38fd30c2b1f4c2172ae517e3eba3e9836647f14525daa0f930c1
url: https://github.com/notaryproject/notation/releases/download/v1.2.0/notation_1.2.0_linux_amd64.tar.gz
checksum: f781f0652adc633798fc1e1db12732d0b53e34d87d4bd2752c72b6bbed967bac

- name: Setup Notation using URL without checksum
id: no-checksum
continue-on-error: true
uses: ./setup
with:
url: https://github.com/notaryproject/notation/releases/download/v1.1.1/notation_1.1.1_linux_amd64.tar.gz
url: https://github.com/notaryproject/notation/releases/download/v1.2.0/notation_1.2.0_linux_amd64.tar.gz
- name: 'Should Fail: Setup Notation using URL without checksum'
if: steps.no-checksum.outcome != 'failure'
run: |
Expand All @@ -63,7 +63,7 @@ jobs:
continue-on-error: true
uses: ./setup
with:
url: https://github.com/notaryproject/notation/releases/download/v1.1.1/notation_1.1.1_linux_amd64.tar.gz
url: https://github.com/notaryproject/notation/releases/download/v1.2.0/notation_1.2.0_linux_amd64.tar.gz
checksum: abcedf
- name: 'Should Fail: Setup Notation using URL and invalid checksum'
if: steps.invalid-checksum.outcome != 'failure'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-test-sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ jobs:
- name: Sign artifact missing target artifact reference
continue-on-error: true
id: missing-artifact-reference
uses: notaryproject/notation-action/sign@main
uses: ./sign
env:
E2E_SIGNING_KEY: ${{ secrets.E2E_SIGNING_KEY }}
with:
Expand All @@ -224,7 +224,7 @@ jobs:
- name: Setup older Notation
uses: ./setup
with:
version: "1.0.0"
version: "1.1.1"
- name: Sign with older Notation
uses: ./sign
with:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Currently, [Azure Key Vault plugin for Notation](https://github.com/Azure/notati
- name: setup Notation CLI
uses: notaryproject/notation-action/setup@v1
with:
version: "1.1.1"
version: "1.2.0"
```
</details>
Expand Down Expand Up @@ -78,7 +78,7 @@ Currently, [Azure Key Vault plugin for Notation](https://github.com/Azure/notati
self_signed=false
```
Example of using the [Referrers API](https://github.com/opencontainers/distribution-spec/blob/v1.1.0-rc.3/spec.md#listing-referrers) in signing:
Example of using the [Referrers API](https://github.com/opencontainers/distribution-spec/blob/v1.1.0/spec.md#listing-referrers) in signing:
```yaml
- name: sign releasd artifact with notation-azure-kv plugin
Expand Down Expand Up @@ -146,7 +146,7 @@ Example of using the [Referrers API](https://github.com/opencontainers/distribut
└── <my_certificate4>
```
Example of using the [Referrers API](https://github.com/opencontainers/distribution-spec/blob/v1.1.0-rc.3/spec.md#listing-referrers) in verification:
Example of using the [Referrers API](https://github.com/opencontainers/distribution-spec/blob/v1.1.0/spec.md#listing-referrers) in verification:
```yaml
- name: verify released artifact
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ inputs:
version:
description: version of official Notation CLI [release](https://github.com/notaryproject/notation/releases). This field is ignored if 'url' is present.
required: false
default: "1.1.1"
default: "1.2.0"
url:
description: url of customized Notation CLI to install
required: false
Expand Down
28 changes: 28 additions & 0 deletions dist/lib/data/notation_releases.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
{
"1.2.0": {
"darwin": {
"amd64": {
"checksum": "91c7a157aea38a5a628ec1a2094d7b2ad9f75e6a9e22b9dce095a06a70bb6d76",
"url": "https://github.com/notaryproject/notation/releases/download/v1.2.0/notation_1.2.0_darwin_amd64.tar.gz"
},
"arm64": {
"checksum": "992628c821fa0461fa0d70e611a5fb25435ce974f0578095e94412bbd935a24a",
"url": "https://github.com/notaryproject/notation/releases/download/v1.2.0/notation_1.2.0_darwin_arm64.tar.gz"
}
},
"linux": {
"amd64": {
"checksum": "f781f0652adc633798fc1e1db12732d0b53e34d87d4bd2752c72b6bbed967bac",
"url": "https://github.com/notaryproject/notation/releases/download/v1.2.0/notation_1.2.0_linux_amd64.tar.gz"
},
"arm64": {
"checksum": "b5c6569630289a491149862d584b001c254707ea908c843843535d478061da3c",
"url": "https://github.com/notaryproject/notation/releases/download/v1.2.0/notation_1.2.0_linux_arm64.tar.gz"
}
},
"windows": {
"amd64": {
"checksum": "43e8d3ddc5b1d9a4a1992615fc7d4f2dabd03e77654d46c76c30e4650a2230a5",
"url": "https://github.com/notaryproject/notation/releases/download/v1.2.0/notation_1.2.0_windows_amd64.zip"
}
}
},
"1.1.1": {
"darwin": {
"amd64": {
Expand Down
14 changes: 7 additions & 7 deletions node_modules/.package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node_modules/@types/node/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions node_modules/@types/node/assert.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions node_modules/@types/node/async_hooks.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 91a70f1

Please sign in to comment.