Point Nix at relocated CI scripts and remove legacy plan paths
This commit is contained in:
@@ -299,7 +299,7 @@ stopped on the new host while its directory is copied:
|
||||
| `/var/lib/ci-certs` | the copy traefik is handed | then `systemctl restart cc-ci-acme-traefik-handoff` |
|
||||
| `/root/.abra` | abra's per-app env files for the deployed stacks | |
|
||||
| Drone data volume `/var/lib/docker/volumes/drone_ci_commoninternet_net_data` | Drone's DB: the Gitea OAuth grant, repo activation, build history | `docker service scale drone_ci_commoninternet_net_app=0` on the new host, copy, scale back to 1. Otherwise run `scripts/bootstrap-drone-oauth.sh` (cc-ci repo) with the bot password and re-activate repos |
|
||||
| `/srv/cc-ci-orch/.cc-ci-logs`, `/srv/cc-ci-orch/cc-ci-plan/upstream/`, `cc-ci-plan/REBOOTS.md`, `cc-ci-plan/JOURNAL.md` | orchestrator history, the upgrader's per-recipe release-note registry | as loops; do the final sync after stopping the orchestrator on the old host |
|
||||
| `/srv/cc-ci-orch/.cc-ci-logs`, `/srv/cc-ci-orch/data/cc-ci/upstream/`, `data/cc-ci/REBOOTS.md`, `data/cc-ci/JOURNAL.md` | orchestrator history, the upgrader's per-recipe release-note registry | as loops; do the final sync after stopping the orchestrator on the old host |
|
||||
|
||||
## 7. Cutover and verification
|
||||
|
||||
@@ -319,7 +319,7 @@ stopped on the new host while its directory is copied:
|
||||
`systemctl unmask cc-ci-upgrade-all.timer cc-ci-upgrade-supervisor.timer && systemctl start` both.
|
||||
4. End to end: post `!testme` on an open recipe PR and watch it turn green on the new Drone;
|
||||
open `https://ci.commoninternet.net` and `https://report.ci.commoninternet.net`.
|
||||
5. The orchestrator: as loops on the new host `cd /srv/cc-ci-orch && python3 cc-ci-plan/agents.py up orchestrator`
|
||||
5. The orchestrator: as loops on the new host `cd /srv/cc-ci-orch && python3 scripts/cc-ci/agents.py up orchestrator`
|
||||
(or just `systemctl restart cc-ci-orchestrator`), attach with `sudo -iu loops tmux attach -t cc-ci-orchestrator` or use the opencode web UI.
|
||||
Check its status and the host journal after startup.
|
||||
6. Keep the old host as a cold standby for a week, then delete it (and its tailnet node — the
|
||||
|
||||
Reference in New Issue
Block a user