feat: NCI-12 kargo #364
Reference in New Issue
Block a user
Delete Branch "feat-kargo-tour"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What was done right
path ghcr.io/now-chess/now-chess-systems/tournament)
What's missing
The two production stages (eu-central-1-prod and htwg-1-prod) are not updated. Every other service is listed in all three stages. The PR only adds tournament to
the staging stage.
The production stages pull from staging, and each service needs to be explicitly listed there too. Without that, tournament images will be validated in staging but
never promoted to production.
Also worth checking: htwg-1-prod uses an architecture-specific tag suffix "-x86_v2" for some services — tournament would need the same treatment if it's deployed
there.
Short answer: The warehouse is correct, staging is correct, but the two production stage entries for tournament are missing.
its already there (claudius said)
Bruda schreib claude antwort dazu
Bruda schreib claude s antwort dazu
In ncs-stage.yaml fehlen die tournament-Einträge in den beiden Production-Stages:
Das sind die zwei Blöcke die ergänzt werden müssen.
✻ Worked for 4s
● Die zwei Blöcke die bereits da sind:
Warehouse-Definition (ncs-warehouse.yaml):
Sagt Kargo: "Schau alle 5 Minuten nach neuen Images von ghcr.io/now-chess/now-chess-systems/tournament — wenn ein neues SemVer-Tag auftaucht, erstelle ein
Freight-Objekt."
Staging-Stage-Eintrag (ncs-stage.yaml):
Sagt Kargo: "Wenn ein neues Tournament-Freight da ist, deploye es direkt nach Staging — aber warte danach 5 Minuten bevor du es als bereit für Production
markierst."
Was fehlt sind die Produktions-Einträge, die sagen würden: "Wenn das Tournament-Freight in Staging validiert wurde, deploye es auch nach Production."
✻ Baked for 5s
● Fetch(https://git.janis-eccarius.de/NowChess/GitOps/raw/branch/main/kargo-projects/nowchess/ncs-stage.yaml)
⎿ Received 5.2KB (200 OK)
● In ncs-stage.yaml müssen in beiden Production-Stages jeweils dieser Block ergänzt werden — direkt neben den anderen Warehouse-Einträgen:
In eu-central-1-prod:
- origin:
kind: Warehouse
name: tournament
sources:
direct: false
stages:
- staging
In htwg-1-prod:
- origin:
kind: Warehouse
name: tournament
sources:
direct: false
stages:
- staging
Identisch zu allen anderen Services — direct: false bedeutet "nicht direkt vom Image-Registry, sondern erst nachdem Staging es validiert hat".