fix(ci): allow user service for gitea host runner
Some checks failed
Code Review / ai-code-review (push) Has been cancelled
Some checks failed
Code Review / ai-code-review (push) Has been cancelled
This commit is contained in:
@@ -12,13 +12,15 @@
|
||||
|
||||
### 完成
|
||||
- 新增 `ops/runner/gitea-act-runner-host.service`,讓 110 host-level `act_runner` 由 systemd 管理,不再依賴裸 `nohup` 程序。
|
||||
- 新增 `ops/runner/install-gitea-host-runner-service.sh`,會把 `/home/wooo/act-runner/config.yaml` 正規化為 `shutdown_timeout: 1h`、安裝 systemd service、停用 Docker-wrapped `gitea-runner` restart policy,且在 `GITEA-ACTIONS-TASK-*` 正在跑時拒絕重啟。
|
||||
- 新增 `ops/runner/gitea-act-runner-host.user.service`,讓沒有 sudo 的維運路徑也能落到 user-level systemd。
|
||||
- 新增 `ops/runner/install-gitea-host-runner-service.sh`,會把 `/home/wooo/act-runner/config.yaml` 正規化為 `shutdown_timeout: 1h`、安裝 system/user systemd service、停用 Docker-wrapped `gitea-runner` restart policy,且在 `GITEA-ACTIONS-TASK-*` 正在跑時拒絕重啟。
|
||||
- `scripts/reboot-recovery/awoooi-startup-110.sh` 改為優先啟動 `gitea-act-runner-host.service`,並在 reboot recovery 時補上 `shutdown_timeout: 1h`。
|
||||
- `ops/runner/README.md` 補第三層 runner 修復:graceful shutdown service 與 status mismatch 根因。
|
||||
|
||||
### 驗證
|
||||
- Live root cause:`act_runner generate-config` 顯示預設 `runner.shutdown_timeout: 0s`;110 config 當時未覆寫。
|
||||
- Live deploy state:ArgoCD `Synced Healthy f72419dd`,`awoooi-api`/`awoooi-worker`/`awoooi-web` 均已使用 `b0da6da1` image。
|
||||
- Live hotfix:110 `/home/wooo/act-runner/config.yaml` 已套 `shutdown_timeout: 1h`,host runner 重新宣告 labels 成功。
|
||||
|
||||
## 2026-05-01 | Agent Loop shadow structured metadata guard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user