debian-mirror-gitlab/.gitlab/ci/yaml.gitlab-ci.yml

15 lines
437 B
YAML
Raw Normal View History

2019-09-04 21:01:54 +05:30
# Yamllint of *.yml for .gitlab-ci.yml.
# This uses rules from project root `.yamllint`.
lint-ci-gitlab:
2019-12-04 20:38:33 +05:30
extends:
- .default-retry
2020-03-13 15:44:24 +05:30
- .yaml:rules
2020-07-28 23:09:34 +05:30
image: pipelinecomponents/yamllint:latest
2020-04-08 14:13:33 +05:30
stage: test
needs: []
2020-03-13 15:44:24 +05:30
variables:
LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates changelogs
2019-09-04 21:01:54 +05:30
script:
2020-03-13 15:44:24 +05:30
- '[[ ! -d "ee/" ]] || export LINT_PATHS="$LINT_PATHS ee/changelogs"'
2020-07-28 23:09:34 +05:30
- yamllint -f colored $LINT_PATHS