From fc0adcd3cb30756d2943ce90b9b2133f84e2098c Mon Sep 17 00:00:00 2001 From: Zedifus Date: Wed, 23 Mar 2022 02:05:02 +0000 Subject: [PATCH] Add extra yaml lint yamllint does not only check for syntax validity, but for weirdnesses like key repetition and cosmetic problems such as lines length, trailing spaces, indentation, etc. --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a8d456e2..54838ba7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,6 +7,12 @@ variables: DOCKER_HOST: tcp://docker:2376 DOCKER_TLS_CERTDIR: "/certs" +yamllint: + stage: lint + image: registry.gitlab.com/pipeline-components/yamllint:latest + script: + - yamllint . + jsonlint: stage: lint image: registry.gitlab.com/pipeline-components/jsonlint:latest