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-02-07 10:36:35 +0300
committerEvan Read <eread@gitlab.com>2022-02-07 10:36:35 +0300
commitb2e9d9317003130a75b5cd3f34fa2f1cbfac83bd (patch)
treeb026c8628e77d8fe448e554774855a427ea56a87 /.gitlab-ci.yml
parentfbf79773ba7499b23b8d8bf58eada53b74177145 (diff)
Speed up nanoc by only testing root html files
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 40af1619..2532946b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -240,6 +240,10 @@ test_internal_links_and_anchors:
- .cache_gem
stage: test
script:
+ # 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
- "parallel time bundle exec nanoc check ::: internal_links internal_anchors"
#