Commit f0cbff33 authored by Albert Salim's avatar Albert Salim

Merge branch 'doc-pipeline-test-ordering' into 'master'

Doc pipeline test ordering

See merge request gitlab-org/gitlab!52160
parents 81762d32 e8de5eec
...@@ -66,6 +66,7 @@ docs-lint links: ...@@ -66,6 +66,7 @@ docs-lint links:
- bundle exec nanoc - bundle exec nanoc
# Check the internal links # Check the internal links
- bundle exec nanoc check internal_links - bundle exec nanoc check internal_links
- bundle exec nanoc check internal_anchors
# Delete the redirect files, rebuild, and check internal links again, to see if we are linking to redirects. # Delete the redirect files, rebuild, and check internal links again, to see if we are linking to redirects.
# Don't delete the documentation/index.md, which is a false positive for the simple grep. # Don't delete the documentation/index.md, which is a false positive for the simple grep.
- grep -rl "redirect_to:" /tmp/gitlab-docs/content/ee/ | grep -v "development/documentation/index.md" | xargs rm -f - grep -rl "redirect_to:" /tmp/gitlab-docs/content/ee/ | grep -v "development/documentation/index.md" | xargs rm -f
...@@ -74,7 +75,7 @@ docs-lint links: ...@@ -74,7 +75,7 @@ docs-lint links:
- echo -e "\e[1;96mMake sure all links point to the correct page." - echo -e "\e[1;96mMake sure all links point to the correct page."
- bundle exec nanoc check internal_links - bundle exec nanoc check internal_links
# Check the internal anchor links # Check the internal anchor links
- bundle exec nanoc check internal_anchors
ui-docs-links lint: ui-docs-links lint:
extends: extends:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment