Commit e14ca539 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'docs/move-api-lint-to-docs-link-job' into 'master'

Move api lint out of static analysis job

See merge request !11046
parents 593b6469 c5bca70d
...@@ -264,11 +264,15 @@ spinach mysql 9 10: *spinach-knapsack-mysql ...@@ -264,11 +264,15 @@ spinach mysql 9 10: *spinach-knapsack-mysql
static-analysis: static-analysis:
<<: *ruby-static-analysis <<: *ruby-static-analysis
<<: *dedicated-runner <<: *dedicated-runner
<<: *except-docs
stage: test stage: test
script: script:
- scripts/static-analysis - scripts/static-analysis
docs:check:links: # Documentation checks:
# - Check validity of relative links
# - Make sure cURL examples in API docs use the full switches
docs lint:
image: "registry.gitlab.com/gitlab-org/gitlab-build-images:nanoc-bootstrap-ruby-2.4-alpine" image: "registry.gitlab.com/gitlab-org/gitlab-build-images:nanoc-bootstrap-ruby-2.4-alpine"
stage: test stage: test
<<: *dedicated-runner <<: *dedicated-runner
...@@ -276,6 +280,7 @@ docs:check:links: ...@@ -276,6 +280,7 @@ docs:check:links:
dependencies: [] dependencies: []
before_script: [] before_script: []
script: script:
- scripts/lint-doc.sh
- mv doc/ /nanoc/content/ - mv doc/ /nanoc/content/
- cd /nanoc - cd /nanoc
# Build HTML from Markdown # Build HTML from Markdown
......
...@@ -9,7 +9,6 @@ tasks = [ ...@@ -9,7 +9,6 @@ tasks = [
%w[bundle exec rake scss_lint], %w[bundle exec rake scss_lint],
%w[bundle exec rake brakeman], %w[bundle exec rake brakeman],
%w[bundle exec license_finder], %w[bundle exec license_finder],
%w[scripts/lint-doc.sh],
%w[yarn run eslint], %w[yarn run eslint],
%w[bundle exec rubocop --require rubocop-rspec] %w[bundle exec rubocop --require rubocop-rspec]
] ]
......
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