diff options
author | Evan Read <eread@gitlab.com> | 2023-09-13 05:08:31 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2023-09-13 05:12:02 +0300 |
commit | 99a9b390bf83ccb3548b6480980c6aad8e3fefbe (patch) | |
tree | 210e561bc6fa481c43e1448c9a63a4edfe77b7da | |
parent | 5298f11720685aa3cc43ae3eb40e195fd8c6c302 (diff) |
Split external links check job
-rw-r--r-- | .gitlab/ci/test.gitlab-ci.yml | 63 |
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 # |