mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-30 14:56:59 +00:00
58 lines
2.9 KiB
YAML
58 lines
2.9 KiB
YAML
tests:
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: Initializing promotion strategy
|
|
inputPath: testdata/no-status.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: Promotion strategy is being deleted
|
|
inputPath: testdata/deleting.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: Promotion strategy is not ready yet
|
|
inputPath: testdata/no-ready-condition.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: Waiting for promotion strategy spec update to be observed
|
|
inputPath: testdata/observed-generation-outdated.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Promotion strategy reconciliation failed: Something went wrong"
|
|
inputPath: testdata/reconciliation-error.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: Promotion strategy has no environments configured
|
|
inputPath: testdata/no-environments.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: The active commit DRY SHA is missing or empty in environment 'dev'.
|
|
inputPath: testdata/active-dry-sha-missing.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "The proposed commit DRY SHA is missing or empty in environment 'dev'."
|
|
inputPath: testdata/proposed-dry-sha-missing.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Promotion in progress for environment 'dev' from 'abc1234' to 'def5678': 1 pending, 0 successful, 1 failed. Pending commit statuses: test-pending. Failed commit statuses: test-failed. Hydrator has processed dry commit 'def5678'. "
|
|
inputPath: testdata/progressing-failed-pending.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: All environments are up-to-date on commit 'abc1234'. Hydrator has processed dry commit 'abc1234'.
|
|
inputPath: testdata/all-healthy.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: Not all environments have the same proposed commit SHA. This likely means the hydrator has not run for all environments yet.
|
|
inputPath: testdata/different-proposed-commits.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Promotion strategy reconciliation failed (ChangeTransferPolicyNotReady): ChangeTransferPolicy \"strategy-environments-qal-usw2-27894e05\" is not Ready because \"ReconciliationError\": Reconciliation failed: failed to calculate ChangeTransferPolicy status: failed to get SHAs for proposed branch \"environments/qal-usw2-next\": exit status 128: fatal: 'origin/environments/qal-usw2-next' is not a commit and a branch 'environments/qal-usw2-next' cannot be created from it"
|
|
inputPath: testdata/missing-sha-and-not-ready.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Promotion in progress for environment 'dev' from 'abc1234' to 'old1111': 0 pending, 0 successful, 0 failed. Hydrator has processed dry commit 'new9999'. "
|
|
inputPath: testdata/proposed-note-dry-sha-preferred.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: All environments are up-to-date on commit '56057f1'. Hydrator has processed dry commit 'ab3c473'.
|
|
inputPath: testdata/no-op-rehydration-note-ahead.yaml
|