github.com/argoproj/argo-cd/v2@v2.10.9/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: Progressing
    12      message: "Waiting for rollout spec update to be observed"
    13    inputPath: testdata/progressing_newWorkloadGeneration.yaml
    14  - healthStatus:
    15      status: Degraded
    16      message: "InvalidSpec"
    17    inputPath: testdata/degraded_statusPhaseMessage.yaml
    18  - healthStatus:
    19      status: Healthy
    20      message: ""
    21    inputPath: testdata/healthy_legacy_v0.9_observedGeneration.yaml
    22  - healthStatus:
    23      status: Healthy
    24      message: ""
    25    inputPath: testdata/healthy_legacy_v0.9_observedGeneration_numeric.yaml
    26  - healthStatus:
    27      status: Healthy
    28      message: ""
    29    inputPath: testdata/healthy_legacy_v1.0_newWorkloadGeneration.yaml
    30  - healthStatus:
    31      status: Healthy
    32      message: ""
    33    inputPath: testdata/healthy_newWorkloadGeneration.yaml
    34  - healthStatus:
    35      status: Degraded
    36      message: "The Rollout \"basic\" is invalid: spec.strategy.strategy: Required value: Rollout has missing field '.spec.strategy.canary or .spec.strategy.blueGreen'"
    37    inputPath: testdata/degraded_invalidSpec.yaml
    38  - healthStatus:
    39      status: Degraded
    40      message: ReplicaSet "guestbook-bluegreen-helm-guestbook-6b8cf6f7db" has timed out progressing.
    41    inputPath: testdata/degraded_rolloutTimeout.yaml
    42  - healthStatus:
    43      status: Degraded
    44      message: Rollout is aborted
    45    inputPath: testdata/degraded_abortedRollout.yaml
    46  #BlueGreen
    47  - healthStatus:
    48      status: Healthy
    49    inputPath: testdata/bluegreen/healthy_servingActiveService.yaml
    50  - healthStatus:
    51      status: Progressing
    52      message: "Waiting for roll out to finish: More replicas need to be updated"
    53    inputPath: testdata/bluegreen/progressing_addingMoreReplicas.yaml
    54  - healthStatus:
    55      status: Progressing
    56      message: "Waiting for roll out to finish: updated replicas are still becoming available"
    57    inputPath: testdata/bluegreen/progressing_waitingUntilAvailable.yaml
    58  #Canary
    59  - healthStatus:
    60      status: Progressing
    61      message: "Waiting for roll out to finish: More replicas need to be updated"
    62    inputPath: testdata/canary/progressing_setWeightStep.yaml
    63  - healthStatus:
    64      status: Progressing
    65      message: "Waiting for roll out to finish: old replicas are pending termination"
    66    inputPath: testdata/canary/progressing_killingOldReplicas.yaml
    67  - healthStatus:
    68      status: Suspended
    69      message: Rollout is paused
    70    inputPath: testdata/suspended_controllerPause.yaml
    71  - healthStatus:
    72      status: Suspended
    73      message: Rollout is paused
    74    inputPath: testdata/suspended_userPause.yaml
    75  - healthStatus:
    76      status: Suspended
    77      message: CanaryPauseStep
    78    inputPath: testdata/suspended_v1.0_pausedRollout.yaml
    79  - healthStatus:
    80      status: Healthy
    81    inputPath: testdata/canary/healthy_executedAllStepsPreV0.8.yaml
    82  - healthStatus:
    83       status: Healthy
    84    inputPath: testdata/canary/healthy_executedAllSteps.yaml
    85  - healthStatus:
    86      status: Progressing
    87      message: 'Waiting for roll out to finish: updated replicas are still becoming available'
    88    inputPath: testdata/canary/progressing_noSteps.yaml
    89  - healthStatus:
    90      status: Healthy
    91    inputPath: testdata/canary/healthy_noSteps.yaml
    92  - healthStatus:
    93      status: Healthy
    94    inputPath: testdata/canary/healthy_emptyStepsList.yaml