diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c722ee610dc3a964267c2b565ca68ed8ad78f34a..eecd165cd6938944cf1e6ee712e72974615bbb43 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,7 @@ # --------------------------------------------------------------------------------------- # 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 # --------------------------------------------------------------------------------------- diff --git a/.yamllint.yml b/.yamllint.yml new file mode 100644 index 0000000000000000000000000000000000000000..9fd616b5354dc6cd625da4bbadad7501ad4b535e --- /dev/null +++ b/.yamllint.yml @@ -0,0 +1,7 @@ +--- + +extends: default + +rules: + line-length: + max: 88