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

15 lines
429 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-tags
- .default-retry
2020-03-09 13:42:32 +05:30
- .yaml:rules
2019-09-04 21:01:54 +05:30
image: sdesbure/yamllint:latest
2019-12-04 20:38:33 +05:30
dependencies: []
2020-03-09 13:42:32 +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-09 13:42:32 +05:30
- '[[ ! -d "ee/" ]] || export LINT_PATHS="$LINT_PATHS ee/changelogs"'
- yamllint $LINT_PATHS