summaryrefslogtreecommitdiff
path: root/.gitlab/ci/docs.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab/ci/docs.gitlab-ci.yml')
-rw-r--r--.gitlab/ci/docs.gitlab-ci.yml24
1 files changed, 19 insertions, 5 deletions
diff --git a/.gitlab/ci/docs.gitlab-ci.yml b/.gitlab/ci/docs.gitlab-ci.yml
index f4d8698f22d..6aa3d533315 100644
--- a/.gitlab/ci/docs.gitlab-ci.yml
+++ b/.gitlab/ci/docs.gitlab-ci.yml
@@ -44,8 +44,8 @@ docs-lint markdown:
- .default-retry
- .docs:rules:docs-lint
# When updating the image version here, update it in /scripts/lint-doc.sh too.
- image: registry.gitlab.com/gitlab-org/gitlab-docs/lint-markdown:alpine-3.14-vale-2.10.4-markdownlint-0.28.1
- stage: test
+ image: registry.gitlab.com/gitlab-org/gitlab-docs/lint-markdown:alpine-3.14-vale-2.12.0-markdownlint-0.29.0
+ stage: lint
needs: []
script:
- scripts/lint-doc.sh
@@ -53,8 +53,8 @@ docs-lint markdown:
docs-lint links:
extends:
- .docs:rules:docs-lint
- image: registry.gitlab.com/gitlab-org/gitlab-docs/lint-html:alpine-3.14-ruby-2.7.4-db71f027
- stage: test
+ image: registry.gitlab.com/gitlab-org/gitlab-docs/lint-html:alpine-3.14-ruby-2.7.4-0fae0f62
+ stage: lint
needs: []
script:
# Prepare docs for build
@@ -71,7 +71,21 @@ ui-docs-links lint:
extends:
- .docs:rules:docs-lint
- .static-analysis-base
- stage: test
+ - .ruby-cache
+ stage: lint
needs: []
script:
- bundle exec haml-lint -i DocumentationLinks
+
+docs-lint deprecations:
+ variables:
+ SETUP_DB: "false"
+ extends:
+ - .default-retry
+ - .rails-cache
+ - .default-before_script
+ - .docs:rules:deprecations
+ stage: lint
+ needs: []
+ script:
+ - bundle exec rake gitlab:docs:check_deprecations