为 OpenSandbox runner 挂载独立工作目录 #139

Merged
panxiao81 merged 1 commits from fix/sandbox-runner-workspace into main 2026-09-24 06:29:38 +00:00
Owner

问题

runner 以 UID 2000 运行,Pool 未挂载 /workspace,导致任务在初始化 host workdir 时失败:mkdir /workspace: permission denied

修复

  • 为 ci-vm 与 ci-pod 的 runner 容器挂载 job-local emptyDir/workspace
  • 工作目录随 sandbox 生命周期自动清理

验证

  • sandbox-ci-runners Kustomize 渲染通过
  • 合并后重新手动发布 runner 并运行 VM smoke
## 问题 runner 以 UID 2000 运行,Pool 未挂载 `/workspace`,导致任务在初始化 host workdir 时失败:`mkdir /workspace: permission denied`。 ## 修复 - 为 ci-vm 与 ci-pod 的 runner 容器挂载 job-local `emptyDir` 到 `/workspace` - 工作目录随 sandbox 生命周期自动清理 ## 验证 - sandbox-ci-runners Kustomize 渲染通过 - 合并后重新手动发布 runner 并运行 VM smoke
panxiao81 added 1 commit 2026-09-24 06:29:04 +00:00
fix(runner): 挂载独立工作目录
yaml / yaml (pull_request) Failing after 7s
e1979ebbb8
panxiao81 merged commit c07709e078 into main 2026-09-24 06:29:38 +00:00
panxiao81 deleted branch fix/sandbox-runner-workspace 2026-09-24 06:29:38 +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/homelab-infra#139