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.
This commit is contained in:
Zedifus 2022-03-23 02:05:02 +00:00
parent 416543d33e
commit fc0adcd3cb

View File

@ -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