2021-09-08 08:12:01 -04:00
|
|
|
# Yamllint of CI-related yaml.
|
2019-06-05 12:31:35 -04:00
|
|
|
# This uses rules from project root `.yamllint`.
|
2020-10-29 08:08:50 -04:00
|
|
|
lint-yaml:
|
2019-08-26 16:41:55 -04:00
|
|
|
extends:
|
|
|
|
- .default-retry
|
2020-10-29 08:08:50 -04:00
|
|
|
- .yaml-lint:rules
|
2020-07-05 02:09:05 -04:00
|
|
|
image: pipelinecomponents/yamllint:latest
|
2021-11-01 05:13:14 -04:00
|
|
|
stage: lint
|
2020-02-20 13:08:51 -05:00
|
|
|
needs: []
|
2020-01-10 13:07:43 -05:00
|
|
|
variables:
|
2022-03-10 16:08:21 -05:00
|
|
|
LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates data/deprecations data/removals data/whats_new
|
2019-06-05 12:31:35 -04:00
|
|
|
script:
|
2022-01-05 07:16:26 -05:00
|
|
|
- yamllint --strict -f colored $LINT_PATHS
|