mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
Every command is cd-*: cd, cd-server, cd-repo-server, cd-application-controller, cd-applicationset-controller, cd-cmp-server, cd-commit-server, cd-dex, cd-git-ask-pass, cd-k8s-auth, cd-notification. util/argo is util/cd; util/notification/argocd is util/notification/cd. Preserved deliberately: github.com/argoproj/argocd-example-apps is an EXTERNAL repo used as an e2e fixture, and notifications-engine + pkg/v2 are real dependencies. Renaming a URL we do not own would break the tests. Two bugs I made and caught, both from a careless sed: - s/argo/cd/g turned 'argocd' into 'cdcd' in two directory names - renaming the package declaration left every call site saying argo.X go build ./... exit 0. Co-authored-by: Hanzo Dev <[email protected]>
94 lines
3.4 KiB
YAML
94 lines
3.4 KiB
YAML
tests:
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Waiting for rollout spec update to be observed"
|
|
inputPath: testdata/newRolloutWithoutStatus.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Waiting for rollout spec update to be observed"
|
|
inputPath: testdata/progressing_newGeneration.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Waiting for rollout spec update to be observed"
|
|
inputPath: testdata/progressing_newWorkloadGeneration.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "InvalidSpec"
|
|
inputPath: testdata/degraded_statusPhaseMessage.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: ""
|
|
inputPath: testdata/healthy_legacy_v0.9_observedGeneration.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: ""
|
|
inputPath: testdata/healthy_legacy_v0.9_observedGeneration_numeric.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: ""
|
|
inputPath: testdata/healthy_legacy_v1.0_newWorkloadGeneration.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: ""
|
|
inputPath: testdata/healthy_newWorkloadGeneration.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "The Rollout \"basic\" is invalid: spec.strategy.strategy: Required value: Rollout has missing field '.spec.strategy.canary or .spec.strategy.blueGreen'"
|
|
inputPath: testdata/degraded_invalidSpec.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: ReplicaSet "guestbook-bluegreen-helm-guestbook-6b8cf6f7db" has timed out progressing.
|
|
inputPath: testdata/degraded_rolloutTimeout.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: Rollout is aborted
|
|
inputPath: testdata/degraded_abortedRollout.yaml
|
|
#BlueGreen
|
|
- healthStatus:
|
|
status: Healthy
|
|
inputPath: testdata/bluegreen/healthy_servingActiveService.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Waiting for roll out to finish: More replicas need to be updated"
|
|
inputPath: testdata/bluegreen/progressing_addingMoreReplicas.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Waiting for roll out to finish: updated replicas are still becoming available"
|
|
inputPath: testdata/bluegreen/progressing_waitingUntilAvailable.yaml
|
|
#Canary
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Waiting for roll out to finish: More replicas need to be updated"
|
|
inputPath: testdata/canary/progressing_setWeightStep.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Waiting for roll out to finish: old replicas are pending termination"
|
|
inputPath: testdata/canary/progressing_killingOldReplicas.yaml
|
|
- healthStatus:
|
|
status: Suspended
|
|
message: Rollout is paused
|
|
inputPath: testdata/suspended_controllerPause.yaml
|
|
- healthStatus:
|
|
status: Suspended
|
|
message: Rollout is paused
|
|
inputPath: testdata/suspended_userPause.yaml
|
|
- healthStatus:
|
|
status: Suspended
|
|
message: CanaryPauseStep
|
|
inputPath: testdata/suspended_v1.0_pausedRollout.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
inputPath: testdata/canary/healthy_executedAllStepsPreV0.8.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
inputPath: testdata/canary/healthy_executedAllSteps.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: 'Waiting for roll out to finish: updated replicas are still becoming available'
|
|
inputPath: testdata/canary/progressing_noSteps.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
inputPath: testdata/canary/healthy_noSteps.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
inputPath: testdata/canary/healthy_emptyStepsList.yaml |