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>2022-05-25 04:01:41 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2022-05-25 10:28:59 +0300
commite69983108678faa7608b52d4f4c4f28f89818b9b (patch)
tree21136ccb11bebdc340b93553e8fe00ec38f7cf88 /.gitlab-ci.yml
parent0faf03050c00d94cdb952a1caba71ae769af55de (diff)
Test changes to GitLab Docs base Docker image
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml16
1 files changed, 15 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4bd59434..f77d87a0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -621,7 +621,7 @@ image:docs-lint-html:
name: registry/docs-lint-html
#
-# GitLab docs image
+# Build and deploy the GitLab docs base Docker image
#
image:gitlab-docs-base:
extends:
@@ -638,6 +638,20 @@ image:gitlab-docs-base:
name: registry/docs-base
#
+# Test the GitLab docs base Docker image if changes made to its Dockerfile
+#
+test:image:gitlab-docs-base:
+ extends:
+ - .docker_prepare
+ stage: test
+ needs: []
+ rules:
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
+ changes:
+ - dockerfiles/gitlab-docs-base.Dockerfile
+ script: docker build -f dockerfiles/gitlab-docs-base.Dockerfile .
+
+#
# Helper Docker image containing all build dependencies.
# It must be rebuilt every time Gemfile and/or Gemfile.lock changes.
#