argo-cd/resource_customizations/promoter.argoproj.io/WebRequestCommitStatus/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

41 lines
1.6 KiB
YAML

tests:
- healthStatus:
status: Progressing
message: Initializing web request commit validation
inputPath: testdata/no-status.yaml
- healthStatus:
status: Progressing
message: WebRequestCommitStatus is being deleted
inputPath: testdata/deleting.yaml
- healthStatus:
status: Progressing
message: Waiting for WebRequestCommitStatus spec update to be observed
inputPath: testdata/observed-generation-outdated.yaml
- healthStatus:
status: Degraded
message: "Web request commit validation failed: Reconciliation failed: invalid URL template"
inputPath: testdata/reconcile-error.yaml
- healthStatus:
status: Degraded
message: "Web request commit validation not ready (CommitStatusesNotReady): CommitStatus \"external-check-env-dev-ext-approval\" is not Ready because \"ReconciliationError\": SCM error"
inputPath: testdata/commit-statuses-not-ready.yaml
- healthStatus:
status: Progressing
message: WebRequestCommitStatus Ready condition is missing
inputPath: testdata/no-ready-condition.yaml
- healthStatus:
status: Healthy
message: Web request commit validation reconciled
inputPath: testdata/empty-environments.yaml
- healthStatus:
status: Progressing
message: "Web request validation pending for branch(es): env/dev"
inputPath: testdata/environment-pending.yaml
- healthStatus:
status: Degraded
message: "Web request validation failed for branch(es): env/dev"
inputPath: testdata/environment-failure.yaml
- healthStatus:
status: Healthy
message: Web request validation passed for 2 environment(s)
inputPath: testdata/all-success.yaml