feat(web): rename the portal database and role to bitborg_web #748
Inga granskare
Etiketter
Inga etiketter
area/backups
area/ci
area/control-panel
area/identity
area/infra
area/observability
area/payments
area/security
area/storage
area/web
blocked
needs-info
needs-triage
priority
high
priority
low
priority
medium
ready-for-implementation
type
bug
type
chore
type
docs
type
epic
type
feature
type
task
wontfix
Ingen milstolpe
Inget projekt
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Inget förfallodatum satt.
Beroenden
Inga beroenden satta
Referens
bitborg/bitborg-infra!748
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "feat/portal-db-rename"
Borttagning av en gren är permanent. Även om den borttagna grenen kan fortsätta existera en kort tid innan den faktiskt tas bort, kan det INTE ångras i de flesta fall. Vill du fortsätta?
Rename the portal database and role
gitborg_webtobitborg_web.web_db_nameandweb_db_userbecomebitborg_web.web_db_legacy_namekeeps the old name for the readers and the one-shot migration.roles/web/tasks/rename-db.ymlprobes which names exist, refuses mixed states, and on prod refuses a run that does not includebackupandbackup-drill. It then stops the portal and, in one transaction, terminates sessions, renames the database and role, and resets the password. The newDATABASE_URLsecret restarts the portal. A failed rename changes nothing.${WEB_DB}.dump. Verify and the drill read both names, so older archives stay restorable.Apply between :25 and :55 (clear of the :17 hot backup): staging
--tags web, then prod--tags web,backup,backup-drill. About 1 minute of portal downtime; Forgejo stays up.Closes #736