Skip to content

Commit

Permalink
add tsa mtls test to github actions
Browse files Browse the repository at this point in the history
Signed-off-by: Dmitry S <[email protected]>
  • Loading branch information
dmitris committed Jul 14, 2023
1 parent 8286aa6 commit 82b6509
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,22 @@ jobs:
- name: Run e2e_test_secrets.sh
shell: bash
run: ./test/e2e_test_secrets.sh

e2e-tsa-mtls:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version: '1.20.x'
check-latest: true

- uses: imjasonh/setup-crane@00c9e93efa4e1138c9a7a5c594acd6c75a2fbf0c # v0.3

- name: Run e2e_tsa_mtls.sh
shell: bash
run: make && PATH="$PWD:$PATH" ./test/e2e_tsa_mtls.sh.sh
2 changes: 1 addition & 1 deletion test/tsa-mtls.sh → test/e2e_tsa_mtls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ cosign verify --insecure-ignore-tlog --insecure-ignore-sct --check-claims=true \

# cleanup
rm -fr ca-key.pem cacert.pem cert.pem /tmp/timestamp-authority
pkill timestamp-server
pkill timestamp-server

0 comments on commit 82b6509

Please sign in to comment.