feat: runner 默认提供 Docker 并修复镜像发布工具链 #45

Merged
panxiao81 merged 3 commits from fix/publish-toolchains into main 2026-09-21 16:24:18 +00:00
Owner

变更

  • 在 job-started hook 完成身份就绪后自动启动 job-local Docker
  • Pod 使用独立 emptyDir,VM 使用 loop-backed ext4
  • workflow 无需按需初始化 Docker,保持 GitHub Actions 兼容
  • 镜像发布任务显式安装 Go、Python 与 shellcheck
  • 发布流水线保留一次性自举逻辑,以便从旧 runner 镜像完成升级
  • Pod/VM smoke 直接验证预置 Docker

验证

  • go test ./...
  • bash -n scripts/setup-job-docker scripts/gitea-opensandbox-runner
  • sh -n scripts/gitea-job-started
  • git diff --check
## 变更 - 在 job-started hook 完成身份就绪后自动启动 job-local Docker - Pod 使用独立 emptyDir,VM 使用 loop-backed ext4 - workflow 无需按需初始化 Docker,保持 GitHub Actions 兼容 - 镜像发布任务显式安装 Go、Python 与 shellcheck - 发布流水线保留一次性自举逻辑,以便从旧 runner 镜像完成升级 - Pod/VM smoke 直接验证预置 Docker ## 验证 - `go test ./...` - `bash -n scripts/setup-job-docker scripts/gitea-opensandbox-runner` - `sh -n scripts/gitea-job-started` - `git diff --check`
panxiao81 added 1 commit 2026-09-21 15:43:27 +00:00
fix: 为镜像发布准备构建工具链
test / shell (pull_request) Successful in 30s
test / python (pull_request) Successful in 1m2s
test / go (pull_request) Successful in 3m23s
adb5af1486
panxiao81 added 1 commit 2026-09-21 15:53:07 +00:00
feat(runner): provide Docker before workflow steps
test / python (pull_request) Successful in 12m25s
test / shell (pull_request) Failing after 13m32s
test / go (pull_request) Successful in 22m28s
d776fa71e9
panxiao81 changed title from fix: 为镜像发布准备构建工具链 to feat: runner 默认提供 Docker 并修复镜像发布工具链 2026-09-21 15:56:06 +00:00
panxiao81 added 1 commit 2026-09-21 16:20:04 +00:00
fix(runner): redirect dockerd logs as root
test / shell (pull_request) Successful in 37s
test / python (pull_request) Successful in 1m13s
test / go (pull_request) Successful in 3m9s
0bf39b4751
panxiao81 merged commit 5d3d2a94bd into main 2026-09-21 16:24:18 +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#45