Files
gitea-dynamic-runner/.gitea/workflows/spire-identity-smoke.yml
T
panxiao81 45be4a9fd9
test / shell (pull_request) Successful in 40s
test / python (pull_request) Successful in 1m26s
test / go (pull_request) Successful in 4m46s
fix(runner): 暴露内置 SPIRE CLI
2026-09-24 07:08:08 +00:00

25 lines
547 B
YAML

name: SPIRE identity smoke
on:
workflow_dispatch:
jobs:
jwt-svid:
runs-on: [self-hosted, pod]
steps:
- name: Verify bundled SPIRE CLI
shell: bash
run: |
set -euo pipefail
command -v spire-agent
spire-agent -version
- name: Fetch short-lived zot JWT-SVID
shell: bash
run: |
set -euo pipefail
spire-agent api fetch jwt \
-audience zot \
-socketPath /run/spire/agent-sockets/spire-agent.sock \
>/dev/null