Commit Graph
19 Commits
Author SHA1 Message Date
Andrew S Erwin 200013960b release 1.2.14: bump federated service VERSION, installer image version and mcp package version
release gate / check (push) Failing after 6m32s
release / smoke (push) Successful in 10m23s
release / publish (push) Failing after 9m56s
2026-11-16 21:38:51 -06:00
Andrew S Erwin 35c0f5f6a3 release 1.2.13: bump federated service VERSION, installer image version and mcp package version
release gate / check (push) Failing after 7m13s
release / smoke (push) Successful in 10m42s
release / publish (push) Failing after 10m0s
2026-11-16 21:06:05 -06:00
Andrew S Erwin 9ddbd10933 release 1.2.12: bump federated service VERSION, installer image version and mcp package version
release gate / check (push) Failing after 6m26s
release / smoke (push) Successful in 10m17s
release / publish (push) Failing after 10m2s
2026-11-16 03:48:09 -06:00
Andrew S Erwin 47ade10e4a release 1.2.11: bump federated service VERSION, installer image version and mcp package version
release gate / check (push) Failing after 6m50s
release / smoke (push) Successful in 10m37s
release / publish (push) Failing after 9m56s
2026-11-15 09:34:51 -06:00
Andrew S Erwin 520fff725f release 1.2.10: bump federated service VERSION, installer image version and mcp package version
release gate / check (push) Failing after 6m32s
release / smoke (push) Successful in 10m20s
release / publish (push) Failing after 9m57s
2026-11-13 08:23:23 -06:00
Andrew S Erwin 549c8108ea release 1.2.9: bump federated service VERSION, installer image version and mcp package version
release gate / check (push) Failing after 6m35s
release / smoke (push) Successful in 10m41s
release / publish (push) Failing after 10m0s
2026-11-11 15:05:28 -06:00
Andrew S Erwin 66d3464f3b release 1.2.8: bump federated service VERSION, installer image version and mcp package version
release gate / check (push) Canceled after 1m21s
release / smoke (push) Successful in 10m37s
release / publish (push) Failing after 9m56s
2026-11-09 17:42:38 -06:00
Andrew S Erwin b6e9faccb8 release 1.2.7: bump federated service VERSION, installer image version and mcp package version
release gate / check (push) Failing after 7m31s
release / smoke (push) Successful in 10m51s
release / publish (push) Failing after 10m5s
2026-11-09 11:26:48 -06:00
Andrew S Erwin 1ef11f32a8 release 1.2.6: bump federated service VERSION, installer image version and mcp package version
release gate / check (push) Failing after 6m49s
release / smoke (push) Successful in 10m23s
release / publish (push) Failing after 9m49s
2026-11-07 15:14:59 -06:00
Andrew S Erwin 696fc929c6 release 1.2.5: bump federated service VERSION, installer image version and mcp package version
release gate / check (push) Failing after 6m41s
release / smoke (push) Successful in 10m43s
release / publish (push) Failing after 9m51s
2026-11-06 09:21:58 -06:00
Andrew S Erwin 3816155b91 release 1.2.4: fix unescaped backticks in the compose render heredoc
release gate / check (push) Failing after 6m28s
release / smoke (push) Successful in 10m31s
release / publish (push) Failing after 9m57s
The unquoted heredoc in render_superbrain_compose turned the comment's
backticked 'docker container inspect superbrain' into command substitution;
re-rendering while the stack runs injected inspect JSON into the compose
file and update.sh's parse guard aborted (2026-11-05, core). Reworded;
1.2.3's /deploy remains defective for updates, use 1.2.4+.
2026-11-05 14:16:53 -06:00
Andrew S Erwin 9a6fbe0d3f release 1.2.3: bump federated service VERSION, installer image version and mcp package version
release gate / check (push) Failing after 6m55s
release / smoke (push) Successful in 10m24s
release / publish (push) Failing after 9m49s
2026-11-02 22:14:19 -06:00
Andrew S Erwin ad9c351649 release 1.2.2: bump federated service VERSION, installer image version and mcp package version
release gate / check (push) Failing after 6m49s
release / smoke (push) Successful in 10m36s
release / publish (push) Failing after 9m54s
2026-11-02 21:56:51 -06:00
Andrew S Erwin 9a9c3bb80d release 1.2.1: bump federated service VERSION, installer image version and mcp package version
release gate / check (push) Failing after 6m43s
release / smoke (push) Successful in 10m28s
release / publish (push) Failing after 10m0s
2026-11-02 14:49:57 -06:00
Andrew S Erwin 9990c33712 release 1.2.0: bump federated service VERSION
release gate / check (push) Failing after 7m30s
release / smoke (push) Successful in 10m42s
release / publish (push) Failing after 9m51s
2026-11-02 14:28:21 -06:00
Andrew S Erwin febc7b2195 release 1.1.1: bump federated service VERSION (BYO AI instructions)
release gate / check (push) Failing after 6m21s
release / smoke (push) Successful in 10m17s
release / publish (push) Failing after 9m54s
2026-11-01 12:46:15 -06:00
carly 1dfd41986c 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
2026-10-30 12:03:07 -06:00
Andrew S Erwin 341cdce026 Registry mode: publish app/web/migrate images, drop source builds on hosts
release gate / check (push) Canceled after 4m3s
release / smoke (push) Successful in 10m13s
release / publish (push) Failing after 12m48s
The federated suite now installs Superbrain like every other house app:
pull images, run installapp, no source tree on the host.

Images (Docker Hub, federatedcomputer namespace, one shared tag per
release + :latest, linux/amd64 + linux/arm64):
  superbrain-app      Go API (scratch)
  superbrain-web      Next.js standalone
  superbrain-migrate  NEW self-contained db image: db/ baked in, entrypoint
                      db/bootstrap.sh waits for postgres, applies
                      schema.sql AS DB_USER on an empty database (object
                      ownership — migrations must be able to ALTER), then
                      always runs the checksummed ledger. Fresh install and
                      upgrade become the same command. The dev compose runs
                      the same bootstrap.sh (verified: non-empty DB skips
                      schema, applies pending migrations).

Release CI (.github/workflows/release.yml): semver tags without v prefix
(the suite's VERSION_RX); a smoke job bootstraps a throwaway PostgreSQL
with the migrate image (fresh schema + complete ledger + idempotent re-run)
and runs Go build/vet/unit BEFORE the publish job pushes — a broken db/
can never reach a tag the upgrade flow will pull. Requires
DOCKERHUB_USERNAME/DOCKERHUB_TOKEN secrets. Dockerfile stays legacy-
builder compatible (no BUILDPLATFORM cross-compile): dev hosts build
locally; CI builds each arch natively under qemu.

Federated integration:
- lib-superbrain.sh: compose pulls federatedcomputer/superbrain-*:
  ${IMAGE_VERSION} (bookstack quoting), no build: keys, no
  IMAGE_VERSION_HOLD; compose generation extracted into
  render_superbrain_compose (install + update share it); schema.sql
  pre-apply and host image builds removed; IMAGE_VERSION is the only
  VERSION= line in the generated .env (upgrade_app's sed matches every
  occurrence — the file says so in words that don't contain the pattern).
- service file: CONTAINER=federatedcomputer/superbrain-app (must equal the
  first image: repository — upgrade_app compares it), VERSION=1.0.0.
- services/superbrain/upgrade/pre hook (listmonk pattern): pre-upgrade
  pg_dump into .update-backups (5 retained) + pulls web/migrate at the
  target version (upgrade_app pulls only the app image).
- install.sh: registry messaging, installs the upgrade hook, clone is only
  for deploy files now.
- update.sh REWRITTEN for registry mode: the app dir no longer contains
  source, so it runs from a repo clone — sync lib/service/hook (parse-
  checked, backed up) -> re-render compose -> /federated/bin/upgrade
  superbrain -> same-version compose safety pass -> health probe.
- STRATEGY.md interim-mode section replaced with the registry-mode record.

README: federated section updated (pulls, not builds; house upgrade flow)
and a new 'Environment variable reference' section — every variable the
stack reads, required/optional, defaults, grouped (core, compose, access
policy, OIDC, SMTP, AI, federated-only, tests-only), so generated .env
files stay correct as features are added.
2026-10-29 10:21:10 -05:00
Andrew S Erwin d7a2abc683 Deploy script and AUTHELIA documentation (Tim did that)
release gate / check (push) Failing after 6m53s
2026-10-25 01:02:52 -05:00