添加动态 Pod Runner 冒烟测试 #9

Merged
panxiao81 merged 3 commits from test/pod-smoke into main 2026-09-16 18:03:01 +00:00
Owner

增加一个可手动触发的最小工作流,验证:

  • runs-on: [self-hosted, pod] 动态调度
  • 一次性 Pod 内 host mode 执行
  • SPIRE Workload API socket 可用并能签发 JWT-SVID
  • job 以 root 运行,具备后续 pipeline 自行安装 Docker/kind 的条件

本 PR 本身用于首次端到端验证。

增加一个可手动触发的最小工作流,验证: - `runs-on: [self-hosted, pod]` 动态调度 - 一次性 Pod 内 host mode 执行 - SPIRE Workload API socket 可用并能签发 JWT-SVID - job 以 root 运行,具备后续 pipeline 自行安装 Docker/kind 的条件 本 PR 本身用于首次端到端验证。
panxiao81 added 1 commit 2026-09-16 15:32:55 +00:00
添加动态 Pod Runner 冒烟测试
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
21aabe162f
Author
Owner

端到端验证已通过。Runner 3.5.0 升级后,workflow_dispatch run 324 成功:动态 Pod 使用 v3.5.0 注册,原生 job_started hook 在 workflow 第一步前等待约 3.2 秒,SPIFFE JWT-SVID 获取成功,job 成功结束,Pod 自动销毁。

验证 run:https://git.ddupan.top/panxiao81/gitea-dynamic-runner/actions/runs/324

本 PR 最初的 pull_request run 320 使用旧 Runner 2.3.0,因其不支持 job hook 而失败;该根因已由已合并的 PR #10 修复。

端到端验证已通过。Runner 3.5.0 升级后,workflow_dispatch run 324 成功:动态 Pod 使用 v3.5.0 注册,原生 job_started hook 在 workflow 第一步前等待约 3.2 秒,SPIFFE JWT-SVID 获取成功,job 成功结束,Pod 自动销毁。 验证 run:https://git.ddupan.top/panxiao81/gitea-dynamic-runner/actions/runs/324 本 PR 最初的 pull_request run 320 使用旧 Runner 2.3.0,因其不支持 job hook 而失败;该根因已由已合并的 PR #10 修复。
panxiao81 added 1 commit 2026-09-16 16:06:57 +00:00
Merge remote-tracking branch 'origin/main' into test/pod-smoke
dynamic Pod smoke test / pod-smoke (pull_request) Successful in 5s
test / python (pull_request) Successful in 10s
test / shell (pull_request) Successful in 18s
99ef62bfa0
panxiao81 added 1 commit 2026-09-16 16:42:52 +00:00
将 Pod smoke 改为手动触发
test / python (pull_request) Successful in 14s
test / shell (pull_request) Successful in 20s
bb73a48695
panxiao81 merged commit 852afbf02e into main 2026-09-16 18:03:01 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: panxiao81/gitea-dynamic-runner#9