Relocate the staging app at cutover so winter-beta Rules keep their owners and share settings.
A fresh production install would drop that Postgres data, so beta communities can enter on staging from January.
This commit is contained in:
1 parent
014d231781
commit
dad8661268
1 file changed
+15
-3
@@ -153,13 +153,19 @@ apex.
|
||||
per [§6.1](#61-legacy-rules-archive-cr-102).
|
||||
3. `cloudron uninstall` the legacy app at `communityrule.info`.
|
||||
4. `cloudron configure --location communityrule.info` to move the
|
||||
validated staging install to the apex (or `cloudron install`
|
||||
fresh at apex if cleaner).
|
||||
validated staging install to the apex. Do not `cloudron install`
|
||||
a fresh production app: beta Rules, owners, invited readers, and
|
||||
share settings live in the staging Postgres addon and only arrive
|
||||
intact if that app is relocated.
|
||||
5. Re-run `prisma migrate deploy`, re-set production env vars if
|
||||
not preserved by the move, smoke again.
|
||||
4. **Decommission** — see [CR-101](https://linear.app/community-rule/issue/CR-101/backend-decommission-legacy-expressmysql-backend).
|
||||
Hold the final LAMP backup ≥ 90 days for safety.
|
||||
|
||||
Cutover checks already on the calendar: 30 Nov (beta gate on staging),
|
||||
14 Dec (staging check before the holiday freeze), 12 Jan 2027 (cutover
|
||||
check). The window itself is 19 Jan 2027.
|
||||
|
||||
### Why not in-place?
|
||||
|
||||
Uninstalling the legacy app and installing the new one at apex
|
||||
@@ -181,10 +187,16 @@ Product decisions (closed):
|
||||
tables to a new read-only Gitea repo on `git.medlab.host` (see
|
||||
[§6.1](#61-legacy-rules-archive-cr-102)). Tracked in
|
||||
[CR-102](https://linear.app/community-rule/issue/CR-102/backend-decide-fate-of-legacy-rules-table-read-only-export).
|
||||
3. **Beta Rules carry with the staging app.** The 19 Jan 2027 cutover
|
||||
relocates the staging Cloudron app and its Postgres addon to the
|
||||
apex, so Rules entered during the winter beta keep their owners,
|
||||
invited readers, and share settings. Beta communities enter on
|
||||
staging from the week of 4 Jan 2027. A fresh production install
|
||||
would drop that data.
|
||||
|
||||
Infra decision closed:
|
||||
|
||||
3. **Container registry — Gitea Container Registry on `git.medlab.host`.**
|
||||
4. **Container registry — Gitea Container Registry on `git.medlab.host`.**
|
||||
Same host as Cloudron (`193.46.198.90`). The
|
||||
[`CommunityRule/community-rule`](https://git.medlab.host/CommunityRule/community-rule)
|
||||
repo must be **public** so the container package inherits public visibility
|
||||
|
||||
Reference in new issue
Block a user