-
Notifications
You must be signed in to change notification settings - Fork 2
59 lines (56 loc) · 2.23 KB
/
installer-tests.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Plugin installer tests
# Run on every push, and allow it to be run manually.
on:
workflow_dispatch:
push:
branches: ['main', 'v*']
pull_request:
env:
NOTATION_VERSION: 1.2.0
PLUGIN_VERSION: 0.3.0
PLUGIN_LINUX_AMD64_SHA256: "03771794643f18c286b6db3a25a4d0b8e7c401e685b1e95a19f03c9356344f5a"
PLUGIN_DARWIN_AMD64_SHA256: "2b8293bdfc706a8acbb1fb3b3ce7b37a300d8c2f26e2ecf158db0104fc152348"
PLUGIN_WINDOWS_AMD64_SHA256: "81fd7e5b200a072c2fd69cf45d6e2de83930e3346debdcfd47c9c45d843d6b3e"
jobs:
ubuntu-installer-test:
name: Ubuntu installer test
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Setup notation CLI
uses: notaryproject/notation-action/setup@v1
with:
version: ${{ env.NOTATION_VERSION }}
- name: Install Venafi plugin
run: |
notation plugin install --url https://github.com/Venafi/notation-venafi-csp/releases/download/v${{ env.PLUGIN_VERSION }}/notation-venafi-csp-linux-amd64.tar.gz --sha256sum ${{ env.PLUGIN_LINUX_AMD64_SHA256 }}
notation plugin ls
macos-installer-test:
name: MacOS installer test
runs-on: macos-latest
permissions:
contents: read
steps:
- name: Setup notation CLI
uses: notaryproject/notation-action/setup@v1
with:
version: ${{ env.NOTATION_VERSION }}
- name: Install Venafi plugin
run: |
notation plugin install --url https://github.com/Venafi/notation-venafi-csp/releases/download/v${{ env.PLUGIN_VERSION }}/notation-venafi-csp-darwin-amd64.tar.gz --sha256sum ${{ env.PLUGIN_DARWIN_AMD64_SHA256 }}
notation plugin ls
windows-installer-test:
name: Windows installer test
runs-on: windows-latest
permissions:
contents: read
steps:
- name: Setup notation CLI
uses: notaryproject/notation-action/setup@v1
with:
version: ${{ env.NOTATION_VERSION }}
- name: Install Venafi plugin
run: |
notation plugin install --url https://github.com/Venafi/notation-venafi-csp/releases/download/v${{ env.PLUGIN_VERSION }}/notation-venafi-csp-darwin-amd64.tar.gz --sha256sum ${{ env.PLUGIN_WINDOWS_AMD64_SHA256 }}
notation plugin ls