Staging data seeding + bitborg-web parity (no ADR-0019 drift) #106
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#106
Läser in…
Hänvisa till i nytt ärende
Ingen beskrivning angiven.
Ta bort grenen "%!s()"
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?
Make staging prod-like in data + web without GDPR risk or ADR-0019 drift.
Data: seed minimal fixtures, or restore the latest/sanitized backup into staging by reusing the restore-drill path (ADR 0027) — no real user PII on a lower-trust host (scrub or use synthetic accounts).
bitborg-web parity (no drift): staging pulls the same
bitborg-webregistry image (ADR 0019 pull-based deploy) — a staging tag orlatest— with staging DB/secrets/domain injected viagroup_vars/staging. The deploy mechanism stays a single parameterized path; staging and prod never diverge in how web is built or shipped. Verify the OIDC/Kanidm client + Cap secret plumbing works against a staging Kanidm (or a staging OAuth2 client).Depends on the environment-layering task.
Epic: gitborg/gitborg-docs#37
supernaut refererade till detta ärende från bitborg/bitborg-docs2026-07-18 15:01:30 +00:00
Deferred per ADR 0030 — Tier-1 full staging and the prod/staging env split are last-ditch/optional: documented as the target shape but built only when a real-host-only failure actually demands it (the restore-drill clone covers the irreversible-upgrade case first). Kept in Backlog; not scheduled. See
bitborg-docs/decisions/0030-environments-and-promotion.md.Staging data seeding + gitborg-web parity (no ADR-0019 drift)till Staging data seeding + bitborg-web parity (no ADR-0019 drift)Staging runs on its own Postgres with no real user data (runbook "Staging"), so no scrubbing is needed. Web uses the same image and deploy path as prod, with only the Keycloak and domain settings overridden in
group_vars/staging/vars.yml. The Kanidm client check is obsolete since the Keycloak cutover. The Keycloak realm for staging is applied fromopentofu/keycloak/env/staging.tfvars. Closing. Open a new task if a seeded dataset is wanted.