Skip to content
Snippets Groups Projects
Commit 67f2fcae authored by Jonas Höppner's avatar Jonas Höppner
Browse files

yamllint: Add yamllint job to CI, add yamllint config

Add .yamllint.yml to configure the yamllint usage, should
be used as master yamllint config from other stages also.
Apply small changes to yml files to match yamllint.

BCS 746-000640
parent 74643665
No related branches found
No related tags found
1 merge request!86yamllint: Add yamllint job to CI, add yamllint config
Pipeline #8744 passed with stages
in 30 seconds
# ---------------------------------------------------------------------------------------
# Global
# ---------------------------------------------------------------------------------------
---
variables:
# CI_IMAGES_BASEPATH: Environment variable configure in gitlab
......@@ -45,6 +46,13 @@ executable:
script:
- (! find ! -executable -name "*.py" -exec echo "not executable:"" {}" \; | grep .)
yamllint:
stage: analyze
timeout: 2m
script:
- yamllint -c .yamllint.yml .*.yml
# ---------------------------------------------------------------------------------------
# Stage: deploy
# ---------------------------------------------------------------------------------------
......
---
extends: default
rules:
line-length:
max: 88
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment