mirror of
https://github.com/hanzoai/deploy.git
synced 2026-10-07 08:44:50 +00:00
* add flagger.app/Canary health check lua script and tests * add flagger.app/Canary health check lua script and tests, fix type * add handle for flagger Initialized phase * add handle for flagger Initialized phase and test
25 lines
972 B
YAML
25 lines
972 B
YAML
tests:
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Progressing --- Canary Weight: 10 % --- New revision detected, progressing canary analysis."
|
|
inputPath: testdata/progressing.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Finalising --- Canary analysis completed, routing all traffic to primary."
|
|
inputPath: testdata/finalising.yaml
|
|
- healthStatus:
|
|
status: Progressing
|
|
message: "Promoting --- Canary analysis completed, starting primary rolling update."
|
|
inputPath: testdata/promoting.yaml
|
|
- healthStatus:
|
|
status: Degraded
|
|
message: "Failed --- Canary analysis failed, Deployment scaled to zero."
|
|
inputPath: testdata/degraded.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: "Succeeded --- Canary analysis completed successfully, promotion finished."
|
|
inputPath: testdata/succeeded.yaml
|
|
- healthStatus:
|
|
status: Healthy
|
|
message: "Initialized --- Installation successful."
|
|
inputPath: testdata/initialized.yaml |