feat(ncs-warehouse): change image selection strategy to SemVer and enforce strict versioning

This commit is contained in:
2026-04-30 11:33:48 +02:00
parent 190cd9df82
commit deaf611202
2 changed files with 19 additions and 18 deletions
@@ -57,6 +57,7 @@ spec:
repoURL: ${{ vars.repoUrl }} repoURL: ${{ vars.repoUrl }}
provider: "gitea" provider: "gitea"
prNumber: ${{ task.outputs['open-pr'].pr.id }} prNumber: ${{ task.outputs['open-pr'].pr.id }}
mergeMethod: "squash"
wait: true wait: true
- uses: git-wait-for-pr - uses: git-wait-for-pr
if: "${{ status('open-pr') != 'Skipped'}}" if: "${{ status('open-pr') != 'Skipped'}}"
+18 -18
View File
@@ -9,9 +9,9 @@ spec:
subscriptions: subscriptions:
- image: - image:
discoveryLimit: 20 discoveryLimit: 20
imageSelectionStrategy: Digest imageSelectionStrategy: SemVer
repoURL: ghcr.io/now-chess/now-chess-systems/account repoURL: ghcr.io/now-chess/now-chess-systems/account
constraint: latest strictSemvers: true
--- ---
apiVersion: kargo.akuity.io/v1alpha1 apiVersion: kargo.akuity.io/v1alpha1
kind: Warehouse kind: Warehouse
@@ -24,9 +24,9 @@ spec:
subscriptions: subscriptions:
- image: - image:
discoveryLimit: 20 discoveryLimit: 20
imageSelectionStrategy: Digest imageSelectionStrategy: SemVer
repoURL: ghcr.io/now-chess/now-chess-systems/bot-platform repoURL: ghcr.io/now-chess/now-chess-systems/bot-platform
constraint: latest strictSemvers: true
--- ---
apiVersion: kargo.akuity.io/v1alpha1 apiVersion: kargo.akuity.io/v1alpha1
kind: Warehouse kind: Warehouse
@@ -39,9 +39,9 @@ spec:
subscriptions: subscriptions:
- image: - image:
discoveryLimit: 20 discoveryLimit: 20
imageSelectionStrategy: Digest imageSelectionStrategy: SemVer
repoURL: ghcr.io/now-chess/now-chess-systems/coordinator repoURL: ghcr.io/now-chess/now-chess-systems/coordinator
constraint: latest strictSemvers: true
--- ---
apiVersion: kargo.akuity.io/v1alpha1 apiVersion: kargo.akuity.io/v1alpha1
kind: Warehouse kind: Warehouse
@@ -54,9 +54,9 @@ spec:
subscriptions: subscriptions:
- image: - image:
discoveryLimit: 20 discoveryLimit: 20
imageSelectionStrategy: Digest imageSelectionStrategy: SemVer
repoURL: ghcr.io/now-chess/now-chess-systems/core repoURL: ghcr.io/now-chess/now-chess-systems/core
constraint: latest strictSemvers: true
--- ---
apiVersion: kargo.akuity.io/v1alpha1 apiVersion: kargo.akuity.io/v1alpha1
kind: Warehouse kind: Warehouse
@@ -69,9 +69,9 @@ spec:
subscriptions: subscriptions:
- image: - image:
discoveryLimit: 20 discoveryLimit: 20
imageSelectionStrategy: Digest imageSelectionStrategy: SemVer
repoURL: ghcr.io/now-chess/now-chess-systems/io repoURL: ghcr.io/now-chess/now-chess-systems/io
constraint: latest strictSemvers: true
--- ---
apiVersion: kargo.akuity.io/v1alpha1 apiVersion: kargo.akuity.io/v1alpha1
kind: Warehouse kind: Warehouse
@@ -84,9 +84,9 @@ spec:
subscriptions: subscriptions:
- image: - image:
discoveryLimit: 20 discoveryLimit: 20
imageSelectionStrategy: Digest imageSelectionStrategy: SemVer
repoURL: ghcr.io/now-chess/now-chess-systems/official-bots repoURL: ghcr.io/now-chess/now-chess-systems/official-bots
constraint: latest strictSemvers: true
--- ---
apiVersion: kargo.akuity.io/v1alpha1 apiVersion: kargo.akuity.io/v1alpha1
kind: Warehouse kind: Warehouse
@@ -99,9 +99,9 @@ spec:
subscriptions: subscriptions:
- image: - image:
discoveryLimit: 20 discoveryLimit: 20
imageSelectionStrategy: Digest imageSelectionStrategy: SemVer
repoURL: ghcr.io/now-chess/now-chess-systems/rule repoURL: ghcr.io/now-chess/now-chess-systems/rule
constraint: latest strictSemvers: true
--- ---
apiVersion: kargo.akuity.io/v1alpha1 apiVersion: kargo.akuity.io/v1alpha1
kind: Warehouse kind: Warehouse
@@ -114,9 +114,9 @@ spec:
subscriptions: subscriptions:
- image: - image:
discoveryLimit: 20 discoveryLimit: 20
imageSelectionStrategy: Digest imageSelectionStrategy: SemVer
repoURL: ghcr.io/now-chess/now-chess-systems/store repoURL: ghcr.io/now-chess/now-chess-systems/store
constraint: latest strictSemvers: true
--- ---
apiVersion: kargo.akuity.io/v1alpha1 apiVersion: kargo.akuity.io/v1alpha1
kind: Warehouse kind: Warehouse
@@ -129,6 +129,6 @@ spec:
subscriptions: subscriptions:
- image: - image:
discoveryLimit: 20 discoveryLimit: 20
imageSelectionStrategy: Digest imageSelectionStrategy: SemVer
repoURL: ghcr.io/now-chess/now-chess-systems/ws repoURL: ghcr.io/now-chess/now-chess-systems/ws
constraint: latest strictSemvers: true