Docs: releases arrive by webhook
CI / secret scan (push) Successful in 6s
CI / fmt, clippy, tests (push) Failing after 51s
CI / release (push) Skipped

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.
This commit is contained in:
grabowski committed 2026-11-23 00:19:31 +07:00
1 parent 35fc888498
commit 4dba0475c7
2 files changed
+5 -4

No files matched your search

+4 -3
View File
@@ -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 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 CI holds (the repository secret `RELEASE_SIGNING_KEY`; its public half is
`release/allowed-signers`) and publishes it as the next release, named by `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 date (2026.11.0, 2026.11.1, ...). The release's webhook tells cnx01 at once
release only with that signature, and restarts the app on it; migrations (the fleet's `hooks.cnx.network/hooks/visa-release`), and it also looks
run at that start. So `main` must stay deployable. On cnx01, 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 `visa-releases status` shows what runs, and `visa-releases rollback` goes
back one release and holds it until `visa-releases unpin`; a rollback does 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 not undo a migration. The fleet's VM test `checks.visa` signs in through a
+1 -1
View File
@@ -42,7 +42,7 @@ The first round of questions was answered on November 17, 2026.
| Question | Decision | | 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 | | 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 | | 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 | | 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 | | Login | Kanidm at id.cnx.network, OAuth2 client `visa-web`, group `visa` with grabowski and oltmanns |