Skip to main content

Linter for Mistral Workflows

Project description

PyPI Version Build Status

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


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.6.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

mistral_lint-0.0.6-py2.py3-none-any.whl (8.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file mistral-lint-0.0.6.tar.gz.

File metadata

File hashes

Hashes for mistral-lint-0.0.6.tar.gz
Algorithm Hash digest
SHA256 97b4013663cebb4c6f6edca97215ceb959e308eac4ab48d825ac91a67c0e8075
MD5 0ea80d6912b6563a83ac2a9b67eac430
BLAKE2b-256 9ed0ec958e0f27d6b18a5268bdb44ea8073ff65b955e779611d23eee37cb5d25

See more details on using hashes here.

File details

Details for the file mistral_lint-0.0.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for mistral_lint-0.0.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8067f38db0671a45d03b81b7b282f8ef8cad832e7a92aec12b8806eda4a87763
MD5 403bf54177012b5e4a27de5ca6e20e4a
BLAKE2b-256 f37c8a9d62f243e25654dce77ff12ed103449e7dded567befec561a10a84e522

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page