- CI/CD Linters
In your .gitlab-ci.yml
, call this image and use the tools with the appropriate arguments.
lint:
image: registry.hlv.inside/cicd-tools/hlv-linter:latest
stage: lint
script:
- yamllint /${CI_PROJECT_PATH}/*.yaml /${CI_PROJECT_PATH}/*.yml
tags:
- kubernetes
only:
- merge_requests
allow_failure: true