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]>
46 lines
1.5 KiB
YAML
46 lines
1.5 KiB
YAML
tests:
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Analysis run is running"
|
|
inputPath: testdata/pendingAnalysisRun.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Waiting for analysis run to finish: status has not been reconciled."
|
|
inputPath: testdata/noStatusAnalysisRun.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Analysis run is running"
|
|
inputPath: testdata/runningAnalysisRun.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: "Analysis run completed successfully"
|
|
inputPath: testdata/successfulAnalysisRun.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Analysis run failed"
|
|
inputPath: testdata/failedAnalysisRun.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Status Message: Assessed as Failed"
|
|
inputPath: testdata/failedAnalysisRunWithStatusMessage.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Analysis run had an error"
|
|
inputPath: testdata/errorAnalysisRun.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Status Message: Assessed as Error"
|
|
inputPath: testdata/errorAnalysisRunWithStatusMessage.yaml
|
|
- healthStatus:
|
|
status: Unknown
|
|
message: "Analysis run was inconclusive"
|
|
inputPath: testdata/inconclusiveAnalysisRun.yaml
|
|
- healthStatus:
|
|
status: Unknown
|
|
message: "Status Message: Assessed as Inconclusive"
|
|
inputPath: testdata/inconclusiveAnalysisRunWithStatusMessage.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: "run terminated"
|
|
inputPath: testdata/terminatedAnalysisRun.yaml
|