Linter for Mistral Workflows
Project description
Usage
$ pip install mistral-lint $ mistral-lint path-to-files
Example Output
workbooks/baremetal.yaml W101: Workbook tripleo.baremetal.v1 has no description W101: Workbook tripleo.baremetal.v1 has no description W101: Workbook tripleo.baremetal.v1 has no description E103: Input node_uuids is not used in Workflow tripleo.baremetal.v1.cellv2_discovery workbooks/deployment.yaml W101: Workbook tripleo.deployment.v1 has no description W101: Workbook tripleo.deployment.v1 has no description workbooks/plan_management.yaml W101: Workbook tripleo.plan_management.v1 has no description W101: Workbook tripleo.plan_management.v1 has no description W101: Workbook tripleo.plan_management.v1 has no description workbooks/stack.yaml W101: Workbook tripleo.stack.v1 has no description W101: Workbook tripleo.stack.v1 has no description W101: Workbook tripleo.stack.v1 has no description W101: Workbook tripleo.stack.v1 has no description workbooks/validations.yaml W101: Workbook tripleo.validations.v1 has no description W101: Workbook tripleo.validations.v1 has no description W101: Workbook tripleo.validations.v1 has no description W101: Workbook tripleo.validations.v1 has no description W101: Workbook tripleo.validations.v1 has no description W101: Workbook tripleo.validations.v1 has no description W101: Workbook tripleo.validations.v1 has no description E103: Input queue_name is not used in Workflow tripleo.validations.v1.add_validation_ssh_key_parameter
Ideas
Check that tasks exist (all those that are mentined in on-error, on-success on-complete etc.).
Check all tasks are called.
Check all tasks have an on-error/on-success or on-complete
Check zaqar format
Interactive workflow with zaqar posting the continue code.
Check sub-workflows are provided the queue name
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mistral-lint-0.0.5.tar.gz
(7.1 kB
view hashes)
Built Distribution
Close
Hashes for mistral_lint-0.0.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 590b8267037f8dde895580a3cce68326e4de7fb86b4666f86c15d040574c6e00 |
|
MD5 | cb73e6927f00b6be5df26f3ee69d53d1 |
|
BLAKE2b-256 | 0540668d2353a61cf80a8cffc685cfdc114cac0780615b75d5776c63173251af |