Ship install/update scripts in the migrate image; no repo clone on hosts
release gate / check (push) Failing after 6m45s
release / smoke (push) Successful in 10m18s
release / publish (push) Failing after 9m55s

This commit is contained in:
2026-10-30 12:03:07 -06:00
parent fc9b6c2c42
commit 1dfd41986c
8 changed files with 101 additions and 81 deletions
+6 -3
View File
@@ -71,11 +71,14 @@ Authelia required, fcore SMTP credential, fixed-IP collisions with
`SUPERBRAIN_*_IP` overrides; installs lib/service/hook; runs
`/federated/bin/installapp superbrain`; verifies containers, Authelia
client + claims markers, HTTPS login) and `deploy/federated/update.sh`
(clone at ref → sync lib/service/hook with parse-checks and backups →
(extract /deploy from the migrate image at VERSION, default latest →
sync lib/service/hook with parse-checks and backups →
re-render compose via `render_superbrain_compose` → `/federated/bin/
upgrade superbrain` → same-version compose safety pass → health probe).
The registry-mode app dir holds ONLY compose + .env — update.sh therefore
runs from a repo clone, not from the app dir (the source-mode
The registry-mode app dir holds ONLY compose + .env, so both scripts ship
inside the migrate image at `/deploy` (since 1.0.1) and run via
`bash -c "$(docker run --rm federatedcomputer/superbrain-migrate cat
/deploy/<script>)"` — no repo clone on the host (the source-mode
self-location of the old update.sh died with interim mode).
A deliberate non-goal remains: an in-app "update" button — the scratch