Commit d7371b56 authored by Marcel Amirault's avatar Marcel Amirault Committed by Rémy Coutable

Dont run lint ci in docs

parent 451fbf0c
...@@ -103,8 +103,11 @@ ...@@ -103,8 +103,11 @@
- ".gitlab/ci/build-images.gitlab-ci.yml" - ".gitlab/ci/build-images.gitlab-ci.yml"
- ".gitlab/ci/qa.gitlab-ci.yml" - ".gitlab/ci/qa.gitlab-ci.yml"
.yaml-patterns: &yaml-patterns .yaml-lint-patterns: &yaml-lint-patterns
- "**/*.yml" - ".gitlab-ci.yml"
- ".gitlab/ci/**/*.yml"
- "lib/gitlab/ci/templates/**/*.yml"
- "{,ee/}changelogs/**/*.yml"
.docs-patterns: &docs-patterns .docs-patterns: &docs-patterns
- ".gitlab/route-map.yml" - ".gitlab/route-map.yml"
...@@ -905,10 +908,10 @@ ...@@ -905,10 +908,10 @@
- <<: *if-dot-com-ee-schedule - <<: *if-dot-com-ee-schedule
changes: *code-backstage-patterns changes: *code-backstage-patterns
############## ###################
# YAML rules # # yaml-lint rules #
############## ###################
.yaml:rules: .yaml-lint:rules:
rules: rules:
- <<: *if-default-refs - <<: *if-default-refs
changes: *yaml-patterns changes: *yaml-lint-patterns
# Yamllint of *.yml for .gitlab-ci.yml. # Yamllint of CI-related yaml and changelogs.
# This uses rules from project root `.yamllint`. # This uses rules from project root `.yamllint`.
lint-ci-gitlab: lint-yaml:
extends: extends:
- .default-retry - .default-retry
- .yaml:rules - .yaml-lint:rules
image: pipelinecomponents/yamllint:latest image: pipelinecomponents/yamllint:latest
stage: test stage: test
needs: [] needs: []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment