From 4dba0475c79c6d363ee83ffd476fae8ee9d86382 Mon Sep 17 00:00:00 2001 From: grabowski Date: Mon, 23 Nov 2026 00:19:31 +0700 Subject: [PATCH] Docs: releases arrive by webhook B4L/visa's release webhook (hook 6) starts cnx01's fetch at once, through the fleet's hooks.cnx.network (cnx-network-clan PR #168); the 15-minute timer stays as the backstop. --- README.md | 7 ++++--- docs/PLAN.md | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 473442a..0941bdf 100644 --- a/README.md +++ b/README.md @@ -200,9 +200,10 @@ A push to `main` is a release, as for thukthuk and lampbench-web: once the checks pass, CI builds the server on Ubuntu 22.04, signs it with a key only CI holds (the repository secret `RELEASE_SIGNING_KEY`; its public half is `release/allowed-signers`) and publishes it as the next release, named by -date (2026.11.0, 2026.11.1, ...). cnx01 looks every 15 minutes, installs a -release only with that signature, and restarts the app on it; migrations -run at that start. So `main` must stay deployable. On cnx01, +date (2026.11.0, 2026.11.1, ...). The release's webhook tells cnx01 at once +(the fleet's `hooks.cnx.network/hooks/visa-release`), and it also looks +every 15 minutes; it installs a release only with that signature, and +restarts the app on it; migrations run at that start. So `main` must stay deployable. On cnx01, `visa-releases status` shows what runs, and `visa-releases rollback` goes back one release and holds it until `visa-releases unpin`; a rollback does not undo a migration. The fleet's VM test `checks.visa` signs in through a diff --git a/docs/PLAN.md b/docs/PLAN.md index f7bb151..acd168c 100644 --- a/docs/PLAN.md +++ b/docs/PLAN.md @@ -42,7 +42,7 @@ The first round of questions was answered on November 17, 2026. | Question | Decision | | ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Where it runs | cnx01, installed on the host like proplan and lampbench: database `visa` on cnx01's PostgreSQL, documents in its Garage, encrypted by the app, borg backups to juliet | -| Releases (Nov 20) | as thukthuk and lampbench-web: every push to main that passes CI becomes a signed release (CalVer), which cnx01 fetches and restarts on within 15 minutes; no fleet PR per release | +| Releases (Nov 20) | as thukthuk and lampbench-web: every push to main that passes CI becomes a signed release (CalVer), which cnx01 fetches and restarts on at once (the release webhook, since Nov 23; the 15-minute timer as backstop); no fleet PR per release | | Documents in Garage | bucket `visa-documents` on cnx01's Garage, 10 GB (Nov 19, 2026); the app encrypts each file before it leaves the app, so Garage holds no key; Garage's SSE-C is off | | How it is published | bkk01 publishes `app.lannadesk.com` through a `modules/web-sites` app entry; `visa.buildfor.life` and the app's paths on `lannadesk.com` redirect there | | Login | Kanidm at id.cnx.network, OAuth2 client `visa-web`, group `visa` with grabowski and oltmanns |