Files
gambuzziandGitHub 8f2f6f038f feat: add flagger.app/Canary health check lua script and tests (#3902)
* 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
2020-07-13 13:14:22 -07:00

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