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>2023-09-13 10:02:40 +0300
committerMarcel Amirault <mamirault@gitlab.com>2023-09-13 10:02:40 +0300
commit09f6aeb745ecf8a7b3fcc7c37b153d2b140eed2e (patch)
tree6e58e5a367fb627544d7cebad06bf4ecd25d8d3d
parent2f55d528a3eb710d03f074f54c141df6bb39c243 (diff)
parent99a9b390bf83ccb3548b6480980c6aad8e3fefbe (diff)
Merge branch 'eread/split-external-links-check-job' into 'main'
Split external links check job See merge request https://gitlab.com/gitlab-org/gitlab-docs/-/merge_requests/4245 Merged-by: Marcel Amirault <mamirault@gitlab.com> Approved-by: Marcel Amirault <mamirault@gitlab.com> Co-authored-by: Evan Read <eread@gitlab.com>
-rw-r--r--.gitlab/ci/test.gitlab-ci.yml63
1 files changed, 61 insertions, 2 deletions
diff --git a/.gitlab/ci/test.gitlab-ci.yml b/.gitlab/ci/test.gitlab-ci.yml
index 6ca9ec81..401cf801 100644
--- a/.gitlab/ci/test.gitlab-ci.yml
+++ b/.gitlab/ci/test.gitlab-ci.yml
@@ -175,14 +175,73 @@ shellcheck:
- make shellcheck-tests
#
-# Check for broken external links
+# Check for broken external links from the GitLab project
#
-test_external_links:
+test_external_links_gitlab:
extends:
- .bundle
- .rules_chores
stage: test
script:
+ - echo " all:" >> nanoc.yaml
+ - echo " exclude_files:" >> nanoc.yaml
+ - echo " - '\/(runner|omnibus|charts|operator)\/.*\/.*'" >> nanoc.yaml
+ - bundle exec nanoc check external_links
+
+#
+# Check for broken external links from the Omnibus GitLab project
+#
+test_external_links_omnibus_gitlab:
+ extends:
+ - .bundle
+ - .rules_chores
+ stage: test
+ script:
+ - echo " all:" >> nanoc.yaml
+ - echo " exclude_files:" >> nanoc.yaml
+ - echo " - '\/(ee|runner|charts|operator)\/.*\/.*'" >> nanoc.yaml
+ - bundle exec nanoc check external_links
+
+#
+# Check for broken external links from the GitLab Runner project
+#
+test_external_links_gitlab_runner:
+ extends:
+ - .bundle
+ - .rules_chores
+ stage: test
+ script:
+ - echo " all:" >> nanoc.yaml
+ - echo " exclude_files:" >> nanoc.yaml
+ - echo " - '\/(ee|omnibus|charts|operator)\/.*\/.*'" >> nanoc.yaml
+ - bundle exec nanoc check external_links
+
+#
+# Check for broken external links from the GitLab Chart project
+#
+test_external_links_charts:
+ extends:
+ - .bundle
+ - .rules_chores
+ stage: test
+ script:
+ - echo " all:" >> nanoc.yaml
+ - echo " exclude_files:" >> nanoc.yaml
+ - echo " - '\/(ee|runner|omnibus|operator)\/.*\/.*'" >> nanoc.yaml
+ - bundle exec nanoc check external_links
+
+#
+# Check for broken external links from the GitLab Operator project
+#
+test_external_links_operator:
+ extends:
+ - .bundle
+ - .rules_chores
+ stage: test
+ script:
+ - echo " all:" >> nanoc.yaml
+ - echo " exclude_files:" >> nanoc.yaml
+ - echo " - '\/(ee|runner|omnibus|charts)\/.*\/.*'" >> nanoc.yaml
- bundle exec nanoc check external_links
#