From 31cdbfefbf6a0d67544a38ddaa34e1b28f57c1bc Mon Sep 17 00:00:00 2001 From: Patrick Zheng Date: Mon, 29 Jan 2024 16:47:05 +0800 Subject: [PATCH] bump: bump up Notation CLI to v1.1.0 (#53) Signed-off-by: Patrick Zheng --- .github/workflows/e2e-test-setup.yml | 8 ++-- README.md | 2 +- action.yml | 2 +- dist/lib/data/notation_releases.json | 56 ++++++++++++++++++++++++++++ setup/action.yml | 2 +- src/lib/data/notation_releases.json | 56 ++++++++++++++++++++++++++++ 6 files changed, 119 insertions(+), 7 deletions(-) diff --git a/.github/workflows/e2e-test-setup.yml b/.github/workflows/e2e-test-setup.yml index 4404818..98ea014 100644 --- a/.github/workflows/e2e-test-setup.yml +++ b/.github/workflows/e2e-test-setup.yml @@ -43,15 +43,15 @@ jobs: - name: Setup Notation using URL uses: ./setup with: - url: https://github.com/notaryproject/notation/releases/download/v1.0.0/notation_1.0.0_linux_amd64.tar.gz - checksum: eceec8cb6d5cbaeb8f6f22399eb89317fe005a85206a5e780fdde1ef5bb64596 + url: https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_linux_amd64.tar.gz + checksum: 0e31e156edff6cc324405cda391d7144b0b99c265a7bdfa6644f457e530fe6d4 - 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.0.0/notation_1.0.0_linux_amd64.tar.gz + url: https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_linux_amd64.tar.gz - name: 'Should Fail: Setup Notation using URL without checksum' if: steps.no-checksum.outcome != 'failure' run: | @@ -63,7 +63,7 @@ jobs: continue-on-error: true uses: ./setup with: - url: https://github.com/notaryproject/notation/releases/download/v1.0.0/notation_1.0.0_linux_amd64.tar.gz + url: https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_linux_amd64.tar.gz checksum: abcedf - name: 'Should Fail: Setup Notation using URL and invalid checksum' if: steps.invalid-checksum.outcome != 'failure' diff --git a/README.md b/README.md index c555ee1..75c0fcb 100644 --- a/README.md +++ b/README.md @@ -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.0.0" + version: "1.1.0" ``` diff --git a/action.yml b/action.yml index 62af5b5..6600190 100644 --- a/action.yml +++ b/action.yml @@ -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.0.0" + default: "1.1.0" url: description: url of customized Notation CLI to install required: false diff --git a/dist/lib/data/notation_releases.json b/dist/lib/data/notation_releases.json index dd67eba..555a05a 100644 --- a/dist/lib/data/notation_releases.json +++ b/dist/lib/data/notation_releases.json @@ -1,4 +1,60 @@ { + "1.1.0": { + "darwin": { + "amd64": { + "checksum": "a190962ca09a24d814916e26c8f98d01c1891fd0bae6192355675b8b16e38726", + "url": "https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_darwin_amd64.tar.gz" + }, + "arm64": { + "checksum": "295df24d247f4b276bd1ee04ae5f639b8feadebd68c01be1821c0b94cbd5cf75", + "url": "https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_darwin_arm64.tar.gz" + } + }, + "linux": { + "amd64": { + "checksum": "0e31e156edff6cc324405cda391d7144b0b99c265a7bdfa6644f457e530fe6d4", + "url": "https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_linux_amd64.tar.gz" + }, + "arm64": { + "checksum": "8c01a8f52356b15ce2c69be4cea193c56d092f913482d2e4a4d90ad6ec81fe64", + "url": "https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_linux_arm64.tar.gz" + } + }, + "windows": { + "amd64": { + "checksum": "397b5ccc27d8f890f955f1e91f8fb21e4c23995ec8f5a42257e72a14728bd4d5", + "url": "https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_windows_amd64.zip" + } + } + }, + "1.0.1": { + "darwin": { + "amd64": { + "checksum": "8bf5e64cd46729619c0b5c39234a73605da5bc1e422b5e0481cbee9e1e4e0cf1", + "url": "https://github.com/notaryproject/notation/releases/download/v1.0.1/notation_1.0.1_darwin_amd64.tar.gz" + }, + "arm64": { + "checksum": "0f320e95cce9e48ea171ad8a9f59490749d2fb8ca68d616e2aa6551d813f4bf3", + "url": "https://github.com/notaryproject/notation/releases/download/v1.0.1/notation_1.0.1_darwin_arm64.tar.gz" + } + }, + "linux": { + "amd64": { + "checksum": "898b6c1cab5763d2dbe979132ae1a5d09571bfd62d14cc9114b77815e0228302", + "url": "https://github.com/notaryproject/notation/releases/download/v1.0.1/notation_1.0.1_linux_amd64.tar.gz" + }, + "arm64": { + "checksum": "c3145753e5426598e78ab283c1ff4b77a479d6485ccc523288033ea5aa5b9389", + "url": "https://github.com/notaryproject/notation/releases/download/v1.0.1/notation_1.0.1_linux_arm64.tar.gz" + } + }, + "windows": { + "amd64": { + "checksum": "278fd5da38e431ee6821b3a51c0e276d20e26309db010464886d931d63ab1b46", + "url": "https://github.com/notaryproject/notation/releases/download/v1.0.1/notation_1.0.1_windows_amd64.zip" + } + } + }, "1.0.0": { "darwin": { "amd64": { diff --git a/setup/action.yml b/setup/action.yml index 2da0af0..106b47e 100644 --- a/setup/action.yml +++ b/setup/action.yml @@ -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.0.0" + default: "1.1.0" url: description: url of customized Notation CLI to install required: false diff --git a/src/lib/data/notation_releases.json b/src/lib/data/notation_releases.json index 704e051..89b6f3d 100644 --- a/src/lib/data/notation_releases.json +++ b/src/lib/data/notation_releases.json @@ -1,4 +1,60 @@ { + "1.1.0": { + "darwin": { + "amd64": { + "checksum": "a190962ca09a24d814916e26c8f98d01c1891fd0bae6192355675b8b16e38726", + "url": "https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_darwin_amd64.tar.gz" + }, + "arm64": { + "checksum": "295df24d247f4b276bd1ee04ae5f639b8feadebd68c01be1821c0b94cbd5cf75", + "url": "https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_darwin_arm64.tar.gz" + } + }, + "linux": { + "amd64": { + "checksum": "0e31e156edff6cc324405cda391d7144b0b99c265a7bdfa6644f457e530fe6d4", + "url": "https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_linux_amd64.tar.gz" + }, + "arm64": { + "checksum": "8c01a8f52356b15ce2c69be4cea193c56d092f913482d2e4a4d90ad6ec81fe64", + "url": "https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_linux_arm64.tar.gz" + } + }, + "windows": { + "amd64": { + "checksum": "397b5ccc27d8f890f955f1e91f8fb21e4c23995ec8f5a42257e72a14728bd4d5", + "url": "https://github.com/notaryproject/notation/releases/download/v1.1.0/notation_1.1.0_windows_amd64.zip" + } + } + }, + "1.0.1": { + "darwin": { + "amd64": { + "checksum": "8bf5e64cd46729619c0b5c39234a73605da5bc1e422b5e0481cbee9e1e4e0cf1", + "url": "https://github.com/notaryproject/notation/releases/download/v1.0.1/notation_1.0.1_darwin_amd64.tar.gz" + }, + "arm64": { + "checksum": "0f320e95cce9e48ea171ad8a9f59490749d2fb8ca68d616e2aa6551d813f4bf3", + "url": "https://github.com/notaryproject/notation/releases/download/v1.0.1/notation_1.0.1_darwin_arm64.tar.gz" + } + }, + "linux": { + "amd64": { + "checksum": "898b6c1cab5763d2dbe979132ae1a5d09571bfd62d14cc9114b77815e0228302", + "url": "https://github.com/notaryproject/notation/releases/download/v1.0.1/notation_1.0.1_linux_amd64.tar.gz" + }, + "arm64": { + "checksum": "c3145753e5426598e78ab283c1ff4b77a479d6485ccc523288033ea5aa5b9389", + "url": "https://github.com/notaryproject/notation/releases/download/v1.0.1/notation_1.0.1_linux_arm64.tar.gz" + } + }, + "windows": { + "amd64": { + "checksum": "278fd5da38e431ee6821b3a51c0e276d20e26309db010464886d931d63ab1b46", + "url": "https://github.com/notaryproject/notation/releases/download/v1.0.1/notation_1.0.1_windows_amd64.zip" + } + } + }, "1.0.0": { "darwin": { "amd64": {