docs: add hwlab v03 mirror skill notes
This commit is contained in:
@@ -104,6 +104,11 @@ bun scripts/cli.ts hwlab g14 git-mirror status
|
||||
bun scripts/cli.ts hwlab g14 git-mirror apply [--dry-run|--confirm]
|
||||
bun scripts/cli.ts hwlab g14 git-mirror sync [--dry-run|--confirm]
|
||||
bun scripts/cli.ts hwlab g14 git-mirror flush [--dry-run|--confirm]
|
||||
|
||||
# D601 node-local v0.3 lane
|
||||
bun scripts/cli.ts hwlab nodes git-mirror status --node D601 --lane v03
|
||||
bun scripts/cli.ts hwlab nodes git-mirror sync --node D601 --lane v03 --confirm --wait
|
||||
bun scripts/cli.ts hwlab nodes git-mirror flush --node D601 --lane v03 --confirm --wait
|
||||
```
|
||||
|
||||
- `apply`: 渲染并 apply `devops-infra/git-mirror.yaml`
|
||||
@@ -114,6 +119,8 @@ PipelineRun `gitops-promote` 如果报 git mirror 控制面漂移、refs 不一
|
||||
|
||||
手动 trigger closeout 不能只看 PipelineRun `Completed`。必须继续查 `control-plane status --pipeline-run <name>` 和 `git-mirror status`;若 `pendingFlush=true`,执行 `git-mirror flush --confirm --wait` 到 `githubInSync=true`。
|
||||
|
||||
D601 `v0.3` 固定 worktree 的 fetch remote 是 node-local git mirror。GitHub PR 合并后,如果 `D601:/home/ubuntu/workspace/hwlab-v03` 中 `git fetch origin v0.3` 仍看不到最新 merge commit,先执行 `hwlab nodes git-mirror sync --node D601 --lane v03 --confirm --wait`,再在固定 worktree `git fetch origin v0.3 && git pull --ff-only origin v0.3`。`trigger-current --lane v03` 会为 PipelineRun 做 mirror pre-sync,但不替代固定 worktree 的 fetch hygiene。promotion 后若 node-local `git-mirror status` 显示 `pendingFlush=true`,执行 node-local flush 并等到 `pendingFlush=false`、`githubInSync=true`。
|
||||
|
||||
---
|
||||
|
||||
## Secret 管理
|
||||
|
||||
Reference in New Issue
Block a user