mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-30 14:56:59 +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]>
50 lines
2.1 KiB
YAML
50 lines
2.1 KiB
YAML
tests:
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: Initializing git commit validation
|
|
inputPath: testdata/no-status.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: GitCommitStatus is being deleted
|
|
inputPath: testdata/deleting.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: Waiting for GitCommitStatus spec update to be observed
|
|
inputPath: testdata/observed-generation-outdated.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Git commit validation failed: Something went wrong"
|
|
inputPath: testdata/reconcile-error.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Git commit validation not ready (CommitStatusesNotReady): CommitStatus \"git-commit-check-env-dev-git-commit-check\" is not Ready because \"ReconciliationError\": Failed to sync to SCM"
|
|
inputPath: testdata/commit-statuses-not-ready.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: GitCommitStatus Ready condition is missing
|
|
inputPath: testdata/no-ready-condition.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Git commit validation status unknown (CommitStatusesNotReady): CommitStatus \"child\" Ready condition is missing"
|
|
inputPath: testdata/ready-unknown.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: Git commit validation reconciled
|
|
inputPath: testdata/empty-environments.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: Git commit validation passed for 2 environment(s)
|
|
inputPath: testdata/all-success.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Git commit validation pending for branch(es): env/dev"
|
|
inputPath: testdata/environment-pending.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Git commit validation failed for branch(es): env/dev"
|
|
inputPath: testdata/environment-failure.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Git commit validation failed: Reconciliation failed: failed to process environments: failed to evaluate expression for branch \"env/dev\": failed to compile expression: failed to compile expression: type string has no method startsWith (1:16)\n | Commit.Subject.startsWith(\"chore:\")\n | ...............^"
|
|
inputPath: testdata/expression-compile-error.yaml
|