Files
gitea-dynamic-runner/.gitea/workflows/pod-smoke.yml
T
panxiao81 21aabe162f
test / python (pull_request) Successful in 9s
test / shell (pull_request) Successful in 16s
dynamic Pod smoke test / pod-smoke (pull_request) Failing after 1s
添加动态 Pod Runner 冒烟测试
2026-09-16 15:32:38 +00:00

23 lines
558 B
YAML

name: dynamic Pod smoke test
on:
workflow_dispatch:
pull_request:
paths:
- .gitea/workflows/pod-smoke.yml
jobs:
pod-smoke:
name: pod-smoke
runs-on: [self-hosted, pod]
timeout-minutes: 5
steps:
- name: Verify disposable host environment
run: |
test -S /run/spire/agent-sockets/spire-agent.sock
/opt/spire/bin/spire-agent api fetch jwt \
-audience ci-smoke \
-socketPath /run/spire/agent-sockets/spire-agent.sock \
>/dev/null
test "$(id -u)" = 0