summaryrefslogtreecommitdiff
path: root/.gitlab/ci/yaml.gitlab-ci.yml
blob: 606bb3853250bb40817cc38d13b3f2bc69e6bfbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Yamllint of CI-related yaml.
# This uses rules from project root `.yamllint`.
lint-yaml:
  extends:
    - .default-retry
    - .yaml-lint:rules
  image: pipelinecomponents/yamllint:latest
  stage: lint
  needs: []
  variables:
    LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates data/deprecations data/removals data/whats_new
  script:
    - yamllint --strict -f colored $LINT_PATHS