Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dfdcfd3b50
|
||
|
|
917922882a |
@@ -0,0 +1,33 @@
|
|||||||
|
name: SPIRE identity smoke
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
jwt-svid:
|
||||||
|
runs-on: self-hosted
|
||||||
|
container:
|
||||||
|
volumes:
|
||||||
|
- /run/spire/agent-sockets:/run/spire/agent-sockets:ro
|
||||||
|
steps:
|
||||||
|
- name: Fetch pinned SPIRE CLI
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
archive=/tmp/spire.tar.gz
|
||||||
|
curl --fail --location --silent --show-error \
|
||||||
|
--output "$archive" \
|
||||||
|
https://github.com/spiffe/spire/releases/download/v1.15.3/spire-1.15.3-linux-amd64-musl.tar.gz
|
||||||
|
printf '%s %s\n' \
|
||||||
|
ca1a4d1155317bdd2afc7f36663828a10410c7c840e54725b90b4064b0a301c7 \
|
||||||
|
"$archive" | sha256sum --check --status
|
||||||
|
tar -xzf "$archive" -C /tmp spire-1.15.3/bin/spire-agent
|
||||||
|
|
||||||
|
- name: Fetch short-lived zot JWT-SVID
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
/tmp/spire-1.15.3/bin/spire-agent api fetch jwt \
|
||||||
|
-audience zot \
|
||||||
|
-socketPath /run/spire/agent-sockets/spire-agent.sock \
|
||||||
|
>/dev/null
|
||||||
Reference in New Issue
Block a user