Gestuftes Ausrollen: Ausrollstufe je Organisation (Migration 0059)

Der Check-in liefert Organisationen mit Stufe "stabil" die Adresse des
freigegebenen Repos (ansible-content-stabil), "vorab" die von main. Neue
Organisationen sind stabil; Default Lab, Liebherr und WLAN-Test vorab.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Opus 5.5 committed 2026-10-13 16:57:20 +02:00
1 parent 26e26e1b3b
commit 0c268e9088
2 files changed
+93 -4

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
BEGIN;
-- Gestuftes Ausrollen der Ansible-Rollen (Nutzer-Entscheidung 13.10.2026,
-- platform-docs ADR-0043). Bisher zog jedes Gerät die Rollen direkt von
-- ansible-content main - ein Push war sofort Rollout auf alle Geräte.
--
-- 'stabil': Geräte der Organisation ziehen vom freigegebenen Stand
-- (Repo ansible-content-stabil). Standard für neue Organisationen.
-- 'vorab': Geräte ziehen vom Entwicklungsstand (ansible-content main) -
-- nur für Testorganisationen.
ALTER TABLE organizations ADD COLUMN ausrollstufe TEXT NOT NULL DEFAULT 'stabil'
CHECK (ausrollstufe IN ('stabil', 'vorab'));
-- Testorganisationen (Test-Org-Konvention: Default Lab = VM 107, Liebherr =
-- Bare-Metal-Testhardware des Nutzers, WLAN-Test = WLAN-Installationstests).
UPDATE organizations SET ausrollstufe = 'vorab'
WHERE id IN (
'11111111-1111-4111-8111-111111111111',
'ab49c741-6795-43d3-abd4-50772565365a',
'b6eb4075-ca26-4a2f-925f-3186d35610d1'
);
COMMIT;