github.com/argoproj/argo-cd/v3@v3.2.1/resource_customizations/promoter.argoproj.io/ChangeTransferPolicy/health_test.yaml (about)

     1  tests:
     2  - healthStatus:
     3      status: Progressing
     4      message: Initializing change transfer policy
     5    inputPath: testdata/no-status.yaml
     6  - healthStatus:
     7      status: Progressing
     8      message: Change transfer policy is being deleted
     9    inputPath: testdata/deleting.yaml
    10  - healthStatus:
    11      status: Progressing
    12      message: Waiting for change transfer policy spec update to be observed
    13    inputPath: testdata/observed-generation-outdated.yaml
    14  - healthStatus:
    15      status: Degraded
    16      message: "Change transfer policy reconciliation failed: Something went wrong"
    17    inputPath: testdata/reconcile-error.yaml
    18  - healthStatus:
    19      status: Progressing
    20      message: Change transfer policy is not ready yet
    21    inputPath: testdata/no-ready-condition.yaml
    22  - healthStatus:
    23      status: Progressing
    24      message: The active commit DRY SHA is missing or empty.
    25    inputPath: testdata/active-dry-sha-missing.yaml
    26  - healthStatus:
    27      status: Progressing
    28      message: The proposed commit DRY SHA is missing or empty.
    29    inputPath: testdata/proposed-dry-sha-missing.yaml
    30  - healthStatus:
    31      status: Progressing
    32      message: "Promotion in progress from 'abc1234' to 'def5678': 1 pending, 0 successful, 1 failed. Pending commit statuses: test-pending. Failed commit statuses: test-failed. "
    33    inputPath: testdata/progressing-failed-pending.yaml
    34  - healthStatus:
    35      status: Healthy
    36      message: "Environment is up-to-date on commit abc1234."
    37    inputPath: testdata/all-healthy.yaml
    38  - healthStatus:
    39      status: Healthy
    40      message: "Environment is up-to-date, but there are non-successful active commit statuses: 1 pending, 0 successful, 0 failed. Pending commit statuses: argocd-health. "
    41    inputPath: testdata/non-successful-environments.yaml
    42  - healthStatus:
    43      status: Degraded
    44      message: "Change transfer policy reconciliation failed (PullRequestNotReady): PullRequest \"deployment-environments-qal-usw2-next-environments-qal-usw2-7a8e7b70\" is not Ready because \"ReconciliationError\": Reconciliation failed: failed to merge pull request: failed to merge pull request: failed to merge pull request: PUT https://github.example.com/api/v3/repos/org/deployment/pulls/3/merge: 405 At least 2 approving reviews are required by reviewers with write access. Required status check \"continuous-integration/jenkins/pr-head\" is expected. You're not authorized to push to this branch."
    45    inputPath: testdata/missing-sha-and-not-ready.yaml