Staging data seeding + bitborg-web parity (no ADR-0019 drift) #106

Stängd
öppnade 2026-07-18 15:01:10 +00:00 av supernaut · 2 kommentarer
Ägare

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-web registry image (ADR 0019 pull-based deploy) — a staging tag or latest — with staging DB/secrets/domain injected via group_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

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-web` registry image (ADR 0019 pull-based deploy) — a staging tag or `latest` — with staging DB/secrets/domain injected via `group_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
Upphovsperson
Ägare

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.

**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`.
supernaut ändrade titeln från Staging data seeding + gitborg-web parity (no ADR-0019 drift) till Staging data seeding + bitborg-web parity (no ADR-0019 drift) 2026-08-03 09:58:43 +00:00
Upphovsperson
Ägare

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 from opentofu/keycloak/env/staging.tfvars. Closing. Open a new task if a seeded dataset is wanted.

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 from `opentofu/keycloak/env/staging.tfvars`. Closing. Open a new task if a seeded dataset is wanted.
Logga in för att delta i denna konversation.
Ingen milstolpe
Inga tilldelade
1 deltagare
Notiser
Förfallodatum
Förfallodatumet är ogiltigt eller utanför gränserna. Använd formatet "åååå-mm-dd".

Inget förfallodatum satt.

Beroenden

Inga beroenden satta

Referens
bitborg/bitborg-infra#106
Ingen beskrivning angiven.