argo-cd/resource_customizations/promoter.argoproj.io/TimedCommitStatus/health_test.yaml
Michael Crenshaw daadf868db
feat(health): additional promoter.argoproj.io health checks (#27170)
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2026-04-13 17:09:21 -04:00

37 lines
1.3 KiB
YAML

tests:
- healthStatus:
status: Progressing
message: Initializing timed commit gate
inputPath: testdata/no-status.yaml
- healthStatus:
status: Progressing
message: TimedCommitStatus is being deleted
inputPath: testdata/deleting.yaml
- healthStatus:
status: Progressing
message: Waiting for TimedCommitStatus spec update to be observed
inputPath: testdata/observed-generation-outdated.yaml
- healthStatus:
status: Degraded
message: "Timed commit gate failed: Reconciliation failed: PromotionStrategy not found"
inputPath: testdata/reconcile-error.yaml
- healthStatus:
status: Progressing
message: TimedCommitStatus Ready condition is missing
inputPath: testdata/no-ready-condition.yaml
- healthStatus:
status: Healthy
message: Timed commit gate reconciled
inputPath: testdata/empty-environments.yaml
- healthStatus:
status: Progressing
message: "Timed commit gate pending for branch(es): env/dev"
inputPath: testdata/environment-pending.yaml
- healthStatus:
status: Healthy
message: Timed commit gate satisfied for 2 environment(s)
inputPath: testdata/all-success.yaml
- healthStatus:
status: Degraded
message: "Timed commit gate failed for branch(es): env/dev"
inputPath: testdata/environment-failure.yaml