github.com/argoproj/argo-cd@v1.8.7/resource_customizations/argoproj.io/Rollout/health_test.yaml (about)

     1  tests:
     2  - healthStatus:
     3      status: Progressing
     4      message: "Waiting for rollout spec update to be observed"
     5    inputPath: testdata/newRolloutWithoutStatus.yaml
     6  - healthStatus:
     7      status: Progressing
     8      message: "Waiting for rollout spec update to be observed"
     9    inputPath: testdata/progressing_newGeneration.yaml
    10  - healthStatus:
    11      status: Healthy
    12      message: ""
    13    inputPath: testdata/healthy_legacy_v0.9_observedGeneration.yaml
    14  - healthStatus:
    15      status: Healthy
    16      message: ""
    17    inputPath: testdata/healthy_legacy_v0.9_observedGeneration_numeric.yaml
    18  - healthStatus:
    19      status: Degraded
    20      message: "The Rollout \"basic\" is invalid: spec.strategy.strategy: Required value: Rollout has missing field '.spec.strategy.canary or .spec.strategy.blueGreen'"
    21    inputPath: testdata/degraded_invalidSpec.yaml
    22  - healthStatus:
    23      status: Degraded
    24      message: ReplicaSet "guestbook-bluegreen-helm-guestbook-6b8cf6f7db" has timed out progressing.
    25    inputPath: testdata/degraded_rolloutTimeout.yaml
    26  - healthStatus:
    27      status: Degraded
    28      message: Rollout is aborted
    29    inputPath: testdata/degraded_abortedRollout.yaml
    30  #BlueGreen
    31  - healthStatus:
    32      status: Healthy
    33    inputPath: testdata/bluegreen/healthy_servingActiveService.yaml
    34  - healthStatus:
    35      status: Progressing
    36      message: "Waiting for roll out to finish: More replicas need to be updated"
    37    inputPath: testdata/bluegreen/progressing_addingMoreReplicas.yaml
    38  - healthStatus:
    39      status: Progressing
    40      message: "Waiting for roll out to finish: updated replicas are still becoming available"
    41    inputPath: testdata/bluegreen/progressing_waitingUntilAvailable.yaml
    42  #Canary
    43  - healthStatus:
    44      status: Progressing
    45      message: "Waiting for roll out to finish: More replicas need to be updated"
    46    inputPath: testdata/canary/progressing_setWeightStep.yaml
    47  - healthStatus:
    48      status: Progressing
    49      message: "Waiting for roll out to finish: old replicas are pending termination"
    50    inputPath: testdata/canary/progressing_killingOldReplicas.yaml
    51  - healthStatus:
    52      status: Suspended
    53      message: Rollout is paused
    54    inputPath: testdata/suspended_controllerPause.yaml
    55  - healthStatus:
    56      status: Suspended
    57      message: Rollout is paused
    58    inputPath: testdata/suspended_userPause.yaml
    59  - healthStatus:
    60      status: Healthy
    61    inputPath: testdata/canary/healthy_executedAllStepsPreV0.8.yaml
    62  - healthStatus:
    63       status: Healthy
    64    inputPath: testdata/canary/healthy_executedAllSteps.yaml
    65  - healthStatus:
    66      status: Progressing
    67      message: 'Waiting for roll out to finish: updated replicas are still becoming available'
    68    inputPath: testdata/canary/progressing_noSteps.yaml
    69  - healthStatus:
    70      status: Healthy
    71    inputPath: testdata/canary/healthy_noSteps.yaml
    72  - healthStatus:
    73      status: Healthy
    74    inputPath: testdata/canary/healthy_emptyStepsList.yaml