Skip to content

Commit

Permalink
bump: bump up Notation CLI to v1.1.0 (#53)
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Zheng <[email protected]>
  • Loading branch information
Two-Hearts authored Jan 29, 2024
1 parent cbe71e4 commit 31cdbfe
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 7 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.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: |
Expand All @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion 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.0.0"
version: "1.1.0"
```
</details>
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.0.0"
default: "1.1.0"
url:
description: url of customized Notation CLI to install
required: false
Expand Down
56 changes: 56 additions & 0 deletions dist/lib/data/notation_releases.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion setup/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.0.0"
default: "1.1.0"
url:
description: url of customized Notation CLI to install
required: false
Expand Down
56 changes: 56 additions & 0 deletions src/lib/data/notation_releases.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 31cdbfe

Please sign in to comment.