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>2022-06-17 07:17:59 +0300
committerMarcel Amirault <mamirault@gitlab.com>2022-06-17 07:17:59 +0300
commitda998e32191dfedbf0749300e377c5f6f7e13011 (patch)
treeff437e4c6ea1a50adab7db5a43c6d3d52f8ff694 /.gitlab-ci.yml
parent18679dbcb0ace64a6341e01c2bc5d540347475ce (diff)
Exclude operator docs from sidebar link check
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c602e6f2..3330ba6a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -236,9 +236,9 @@ compile_dev:
###############################################
#
-# Test internal links and anchors with nanoc
+# Test the links in the global nav
#
-test_internal_links_and_anchors:
+test_global_nav_links:
image: registry.gitlab.com/gitlab-org/gitlab-docs/lint-html:alpine-3.16-ruby-2.7.6-0bc327a4
extends:
- .rules_site_tests
@@ -248,7 +248,7 @@ test_internal_links_and_anchors:
# Only check files in top-level directories. This means a much faster and less repetitive check of global navigation links.
- echo " all:" >> nanoc.yaml
- echo " exclude_files:" >> nanoc.yaml
- - echo " - '\/(ee|runner|omnibus|charts)\/.*\/.*'" >> nanoc.yaml
+ - echo " - '\/(ee|runner|omnibus|charts|operator)\/.*\/.*'" >> nanoc.yaml
- "parallel time bundle exec nanoc check ::: internal_links internal_anchors"
#