Ship install/update scripts in the migrate image; no repo clone on hosts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user