feat(erpsetup): Managed Git items INF-GIT-CLD/OPR-STD/BUS/ENT
ci / shared (pull_request) Successful in 13s
ci / test (pull_request) Successful in 24m4s
ci / image (pull_request) Skipped

Six items with list prices from the SKU sheet (190/390/790 per month,
4900/9900/19900 per year). They are billed but unlock nothing in the
registry yet; v0 instances are provisioned by hand.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
This commit is contained in:
Sharang ParnerkarandClaude Opus 5.5 committed 2026-10-04 20:43:01 +02:00
1 parent 6141e45811
commit dd898769cd
2 files changed
+14 -6

No files matched your search

+8 -1
View File
@@ -18,7 +18,8 @@ const priceList = "Standard Selling"
// skus lists every item a sales order may carry. The registry unlocks a
// product for the product SKUs; the platform fee (PLT-CORE-*) is billed but
// unlocks nothing on its own.
// unlocks nothing on its own, and so is Managed Git (INF-GIT-*) until the
// registry has a `git` product (instances are provisioned by hand, v0).
func skus() []sku {
return []sku{
{"PLT-CORE-CLD-STD", "BreakPilot Plattform – Starter", "Monat", "Arbeitsbereich mit Anmeldung, Team und Rechnungen: bis 25 Nutzer, bis 3 Produkte, Standard-Support.", 290},
@@ -43,6 +44,12 @@ func skus() []sku {
{"DEV-FWK-OPR-STD", "Firmwerk On-Prem – Standard", "Jahr", "Firmwerk im eigenen Netz; Jahreslizenz.", 6900},
{"DEV-FWK-OPR-BUS", "Firmwerk On-Prem – Business", "Jahr", "Firmwerk im eigenen Netz für größere Teams; Jahreslizenz.", 15900},
{"DEV-FWK-OPR-ENT", "Firmwerk On-Prem – Enterprise", "Jahr", "Firmwerk im eigenen Netz für große Organisationen; Jahreslizenz.", 39900},
{"INF-GIT-CLD-STD", "Managed Git Cloud – Standard", "Monat", "Eigene Gitea-Instanz für Ihr Unternehmen, betrieben von BreakPilot in Deutschland: Anmeldung über Ihr BreakPilot-Konto, Sicherung und Updates inklusive; für Teams bis ca. 50 Entwickler.", 190},
{"INF-GIT-CLD-BUS", "Managed Git Cloud – Business", "Monat", "Eigene Gitea-Instanz für mittelgroße Entwicklerteams (bis ca. 200 Entwickler) mit Business-SLA.", 390},
{"INF-GIT-CLD-ENT", "Managed Git Cloud – Enterprise", "Monat", "Eigene Gitea-Instanz für große Entwicklungsorganisationen, unbegrenzter Speicher, Enterprise-SLA und persönliche Betreuung.", 790},
{"INF-GIT-OPR-STD", "Managed Git On-Prem – Standard", "Jahr", "Gitea im eigenen Netz, kein Quellcode verlässt das Haus; Installation, Patches und Überwachung durch BreakPilot; Jahreslizenz.", 4900},
{"INF-GIT-OPR-BUS", "Managed Git On-Prem – Business", "Jahr", "Gitea im eigenen Netz für mittelgroße Teams, schnellerer Patch-Rhythmus; Jahreslizenz.", 9900},
{"INF-GIT-OPR-ENT", "Managed Git On-Prem – Enterprise", "Jahr", "Gitea im eigenen Netz mit Hochverfügbarkeit und Enterprise-SLA; Jahreslizenz.", 19900},
}
}
+6 -5
View File
@@ -136,8 +136,8 @@ func TestRunCreatesThenIsIdempotent(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if len(steps) != 84 || f.posts != 84 {
t.Fatalf("first run: %d steps, %d creates; want 84/84: %+v", len(steps), f.posts, steps)
if len(steps) != 96 || f.posts != 96 {
t.Fatalf("first run: %d steps, %d creates; want 96/96: %+v", len(steps), f.posts, steps)
}
for _, s := range steps {
if s.Result != "created" {
@@ -153,8 +153,8 @@ func TestRunCreatesThenIsIdempotent(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if f.posts != 84 {
t.Fatalf("second run created %d more docs", f.posts-84)
if f.posts != 96 {
t.Fatalf("second run created %d more docs", f.posts-96)
}
for _, s := range steps {
if !strings.HasPrefix(s.Result, "exists") {
@@ -249,7 +249,7 @@ func TestWebhookDocIsNamed(t *testing.T) {
}
// Every SKU the registry's catalogue sells exists as an item, with a unit that
// exists too, and the platform fee is there for invoicing.
// exists too, and the platform fee and Managed Git are there for invoicing.
func TestCatalogueCoversTheRegistrySKUs(t *testing.T) {
want := []string{
"CRA-CSA-CLD-STD", "CRA-CSA-CLD-BUS", "CRA-CSA-CLD-ENT", "CRA-CSA-CLD-SCAN",
@@ -257,6 +257,7 @@ func TestCatalogueCoversTheRegistrySKUs(t *testing.T) {
"DEV-WP-CLD-STD", "DEV-WP-CLD-BUS", "DEV-WP-CLD-ENT", "DEV-WP-OPR-STD", "DEV-WP-OPR-BUS", "DEV-WP-OPR-ENT",
"DEV-FWK-CLD-STD", "DEV-FWK-CLD-BUS", "DEV-FWK-CLD-ENT", "DEV-FWK-OPR-STD", "DEV-FWK-OPR-BUS", "DEV-FWK-OPR-ENT",
"PLT-CORE-CLD-STD", "PLT-CORE-CLD-BUS", "PLT-CORE-CLD-ENT",
"INF-GIT-CLD-STD", "INF-GIT-CLD-BUS", "INF-GIT-CLD-ENT", "INF-GIT-OPR-STD", "INF-GIT-OPR-BUS", "INF-GIT-OPR-ENT",
}
units := map[string]bool{}
for _, u := range uoms() {