Sign inSign up

jacksgt/cfn-lint-pipe

By jacksgt

•Updated over 6 years ago

Image
0

575

jacksgt/cfn-lint-pipe repository overview

⁠Bitbucket Pipelines Pipe: cfn-lint

This pipe contains cfn-lint⁠ (cfn-python-lint⁠).

⁠YAML Definition

If you already have a .cfnlintrc, you just need to the following snippet to the script section of your bitbucket-pipelines.yml file:

script:
  - pipe: jacksgt/cfn-lint-pipe:0.1.1

⁠Variables

VariableUsage
TEMPLATESCloudformation templates to be checked. Default: [] (will use configuration in .cfnlintrc).
DEBUGTurn on extra debug information. Default: false.
FAIL_ON_ERRORFail the pipeline when cfn-lint finds errors. Default: true.
FAIL_ON_ERRORFail the pipeline when cfn-lint reports errors. Default: true.
FAIL_ON_WARNFail the pipeline when cfn-lint reports warnigns. Default: true.
FAIL_ON_INFOFail the pipeline when cfn-lint reports infos. Default: true.
EXTRA_ARGSExtra command line arguments to be supplied to cfn-lint. Default: [].

(*) = required variable.

⁠Examples

Advanced example with strict configuration:

script:
  - pipe: jacksgt/cfn-lint-pipe:0.1.1
    variables:
      TEMPLATES:
        - cloudformation-template-A.json
        - cloudformation-template-B.yaml
      FAIL_ON_WARN: "true"
      FAIL_ON_INFO: "true"

⁠Support

If you have an issue with this pipe or would like to have a feature added, let me know. Patches are also always welcome.

[email protected]

If you’re reporting an issue, please include:

  • the version of the pipe
  • relevant logs and error messages
  • steps to reproduce

⁠License

This software is licensed under Apache 2.0 License.

Tag summary

Content type

Image

Digest

Size

61.1 MB

Last updated

over 6 years ago

docker pull jacksgt/cfn-lint-pipe