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:
authorEvan Read <eread@gitlab.com>2021-01-15 05:35:57 +0300
committerEvan Read <eread@gitlab.com>2021-01-15 05:35:57 +0300
commit433148b050da47d909fef682eaf57e3d04132c5e (patch)
tree64b468e380fe62354f2b663a736380dab75a5ebe
parent665e144681e6d9e8f4fcb2adecd5560772a5e0ec (diff)
Update linting tools for Markdown. Remove old config
-rw-r--r--.gitlab-ci.yml29
1 files changed, 1 insertions, 28 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4472a02f..caba4f98 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -444,42 +444,15 @@ pages:
#
# GitLab docs lint image containing all test tools
#
-image:docs-lint:
+image:docs-lint-markdown:
extends:
- .rules_scheduled
- .docker_prepare
stage: build-images
variables:
- RUBY_VERSION: '2.7.2'
ALPINE_VERSION: '3.12'
VALE_VERSION: '2.8.0'
MARKDOWNLINT_VERSION: '0.26.0'
- IMAGE_NAME: $CI_REGISTRY_IMAGE/lint:ruby-$RUBY_VERSION-alpine-$ALPINE_VERSION-vale-$VALE_VERSION-markdownlint-$MARKDOWNLINT_VERSION
- IMAGE_LATEST: $CI_REGISTRY_IMAGE/lint:latest
- DOCKERFILE: dockerfiles/Dockerfile.gitlab-docs-lint
- script:
- - docker build
- --build-arg RUBY_VERSION=${RUBY_VERSION}
- --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 tag $IMAGE_NAME $IMAGE_LATEST
- - docker push $IMAGE_NAME
- - docker push $IMAGE_LATEST
- 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: