Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Amirault <mamirault@gitlab.com>2020-11-13 18:04:50 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2020-11-13 18:04:50 +0300
commit8084afe2bac645aadf104568fc96c1ae1a3b0267 (patch)
treebf98f7c34aef932b4609ed72c916a15f2334eaeb /.gitlab-ci.yml
parent1495bb1e6aacd7389155ca48ecaddd221ea0efd7 (diff)
Dedicate a lint image to just docs tests (vale/markdownlint/etc)
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9df5a840..0aa6a761 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -438,6 +438,28 @@ image:docs-lint:
environment:
name: registry/docs-lint
+image:docs-lint-markdown:
+ extends:
+ - .rules_scheduled
+ - .docker_prepare
+ stage: build-images
+ variables:
+ ALPINE_VERSION: '3.12'
+ VALE_VERSION: '2.6.1'
+ MARKDOWNLINT_VERSION: '0.24.0'
+ IMAGE_NAME: $CI_REGISTRY_IMAGE/lint-markdown:alpine-$ALPINE_VERSION-vale-$VALE_VERSION-markdownlint-$MARKDOWNLINT_VERSION
+ DOCKERFILE: dockerfiles/Dockerfile.gitlab-docs-lint-markdown
+ script:
+ - docker build
+ --build-arg ALPINE_VERSION=${ALPINE_VERSION}
+ --build-arg VALE_VERSION=${VALE_VERSION}
+ --build-arg MARKDOWNLINT_VERSION=${MARKDOWNLINT_VERSION}
+ --build-arg CI_COMMIT_REF_NAME=${CI_COMMIT_REF_NAME}
+ -t $IMAGE_NAME -f $DOCKERFILE .
+ - docker push $IMAGE_NAME
+ environment:
+ name: registry/docs-lint
+
#
# GitLab docs image
#