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

     1  tests:
     2  - healthStatus:
     3      status: Progressing
     4      message: Initializing pull request
     5    inputPath: testdata/no-status.yaml
     6  - healthStatus:
     7      status: Progressing
     8      message: Pull request is being deleted
     9    inputPath: testdata/deleting.yaml
    10  - healthStatus:
    11      status: Progressing
    12      message: Waiting for pull request spec update to be observed
    13    inputPath: testdata/observed-generation-outdated.yaml
    14  - healthStatus:
    15      status: Degraded
    16      message: "Pull request reconciliation failed: Something went wrong"
    17    inputPath: testdata/reconciliation-error.yaml
    18  - healthStatus:
    19      status: Degraded
    20      message: "Pull request reconciliation failed: Failed to create pull request: authentication failed"
    21    inputPath: testdata/non-reconciliation-error.yaml
    22  - healthStatus:
    23      status: Progressing
    24      message: Pull request is not ready yet
    25    inputPath: testdata/no-ready-condition.yaml
    26  - healthStatus:
    27      status: Healthy
    28      message: Pull request is healthy
    29    inputPath: testdata/healthy-no-id-or-state.yaml
    30  - healthStatus:
    31      status: Healthy
    32      message: Pull request is open as PR 123
    33    inputPath: testdata/healthy-with-id-and-state.yaml