homelab-codex-ws/scripts/deploy
Oskar Kapala 3b71707660 fix(deploy): exclude control-plane from node deploy loop — prevents brain teardown via project-name divergence
deploy.sh vps iterates hosts/vps/services.yaml in deploy-node.sh, which
includes control-plane. But control-plane also has a dedicated deploy path
(deploy.sh control-plane → deploy-control-plane.sh → deploy-local.sh) that
runs compose from services/control-plane/. The node loop runs compose from
${REPO_PATH}, so on Compose versions that derive the project name from cwd
the two paths own the containers under different project names. The loop's
`up -d --remove-orphans` then Recreates and tears down the running brain
(observer/supervisor/executor/ui), aborting the loop under set -e. This
wiped the VPS control-plane on 2026-06-25.

Generic guard: skip any service that ships its own services/<svc>/deploy-local.sh.
control-plane stays in services.yaml so the gate (pytest+build) still covers it;
only the destructive loop deploy is skipped. Protects future services with a
dedicated deploy path too.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 15:16:42 +02:00
..
deploy-control-plane.sh Fix control plane SSH deploy TTY 2026-05-18 21:41:47 +02:00
deploy-frigate.sh fix: remove --pull always flag incompatible with docker-compose v1 2026-05-21 22:07:49 +02:00
deploy-host.sh Initial homelab workspace structure 2026-05-07 20:17:27 +02:00
deploy-node.sh fix(deploy): exclude control-plane from node deploy loop — prevents brain teardown via project-name divergence 2026-06-26 15:16:42 +02:00
deploy-role.sh Initial homelab workspace structure 2026-05-07 20:17:27 +02:00
deploy-stability-agent.sh Fix stability agent fleet deploy scripts 2026-05-17 21:09:06 +02:00
deploy.sh feat(deploy): Saturn-side dispatcher wrapper 2026-06-03 16:06:36 +02:00
orchestrate-deploy.sh fix(deploy): inventory-aware orchestration and correct override paths 2026-05-20 14:50:01 +02:00
update-all.sh Initial homelab workspace structure 2026-05-07 20:17:27 +02:00
verify-agent-fleet.sh Fix agent fleet verification via Redis container 2026-05-17 23:00:51 +02:00