mirror of
https://github.com/hanzoai/cd.git
synced 2026-10-30 14:56:45 +00:00
The health and action fixtures carried sample object names from the upstream project; renamed in step with every assertion that reads them.
28 lines
986 B
YAML
28 lines
986 B
YAML
tests:
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: Waiting for the status to be reported
|
|
inputPath: testdata/progressing_no_status.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: >-
|
|
violation - namespaces [cd-example] not found; violation - namespaces
|
|
[cd-example-2] not found
|
|
inputPath: testdata/degraded.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: Waiting for the status to be updated
|
|
inputPath: testdata/progressing.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: >-
|
|
notification - namespaces [cd-example] was created successfully;
|
|
notification - namespaces [cd-example-2] was created successfully
|
|
inputPath: testdata/healthy_created.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: >-
|
|
notification - namespaces [cd-example] found as specified;
|
|
notification - namespaces [cd-example-2] found as specified
|
|
inputPath: testdata/healthy_found.yaml
|