Commit 57b141a1 authored by Tim Zallmann's avatar Tim Zallmann

Disable docs lint internal_links check

parent 9af0840d
image: "dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-golang-1.9-git-2.18-chrome-69.0-node-10.x-yarn-1.12-postgresql-9.6-graphicsmagick-1.3.29" image: 'dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-golang-1.9-git-2.18-chrome-69.0-node-10.x-yarn-1.12-postgresql-9.6-graphicsmagick-1.3.29'
.dedicated-runner: &dedicated-runner .dedicated-runner: &dedicated-runner
retry: 1 retry: 1
...@@ -6,7 +6,7 @@ image: "dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-golang-1.9-git ...@@ -6,7 +6,7 @@ image: "dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-golang-1.9-git
- gitlab-org - gitlab-org
.default-cache: &default-cache .default-cache: &default-cache
key: "debian-stretch-ruby-2.5.3-node-10.x" key: 'debian-stretch-ruby-2.5.3-node-10.x'
paths: paths:
- vendor/ruby - vendor/ruby
- .yarn-cache/ - .yarn-cache/
...@@ -23,20 +23,20 @@ image: "dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-golang-1.9-git ...@@ -23,20 +23,20 @@ image: "dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.5.3-golang-1.9-git
policy: pull policy: pull
variables: variables:
MYSQL_ALLOW_EMPTY_PASSWORD: "1" MYSQL_ALLOW_EMPTY_PASSWORD: '1'
RAILS_ENV: "test" RAILS_ENV: 'test'
NODE_ENV: "test" NODE_ENV: 'test'
SIMPLECOV: "true" SIMPLECOV: 'true'
GIT_DEPTH: "20" GIT_DEPTH: '20'
GIT_SUBMODULE_STRATEGY: "none" GIT_SUBMODULE_STRATEGY: 'none'
GET_SOURCES_ATTEMPTS: "3" GET_SOURCES_ATTEMPTS: '3'
KNAPSACK_RSPEC_SUITE_REPORT_PATH: knapsack/${CI_PROJECT_NAME}/rspec_report-master.json KNAPSACK_RSPEC_SUITE_REPORT_PATH: knapsack/${CI_PROJECT_NAME}/rspec_report-master.json
FLAKY_RSPEC_SUITE_REPORT_PATH: rspec_flaky/report-suite.json FLAKY_RSPEC_SUITE_REPORT_PATH: rspec_flaky/report-suite.json
BUILD_ASSETS_IMAGE: "false" BUILD_ASSETS_IMAGE: 'false'
## EE specific variables ## ## EE specific variables ##
# This hack is needed to make ES not that memory hungry # This hack is needed to make ES not that memory hungry
ES_JAVA_OPTS: "-Xms256m -Xmx256m" ES_JAVA_OPTS: '-Xms256m -Xmx256m'
ELASTIC_URL: "http://elastic:changeme@docker.elastic.co-elasticsearch-elasticsearch:9200" ELASTIC_URL: 'http://elastic:changeme@docker.elastic.co-elasticsearch-elasticsearch:9200'
EE_KNAPSACK_RSPEC_SUITE_REPORT_PATH: knapsack/${CI_PROJECT_NAME}/rspec_report-master-ee.json EE_KNAPSACK_RSPEC_SUITE_REPORT_PATH: knapsack/${CI_PROJECT_NAME}/rspec_report-master-ee.json
before_script: before_script:
...@@ -63,7 +63,7 @@ stages: ...@@ -63,7 +63,7 @@ stages:
.tests-metadata-state: &tests-metadata-state .tests-metadata-state: &tests-metadata-state
<<: *dedicated-runner <<: *dedicated-runner
variables: variables:
TESTS_METADATA_S3_BUCKET: "gitlab-ce-cache" TESTS_METADATA_S3_BUCKET: 'gitlab-ce-cache'
before_script: before_script:
- source scripts/utils.sh - source scripts/utils.sh
artifacts: artifacts:
...@@ -117,8 +117,8 @@ stages: ...@@ -117,8 +117,8 @@ stages:
- $CI_COMMIT_REF_NAME =~ /norails4/ - $CI_COMMIT_REF_NAME =~ /norails4/
- $RAILS5_DISABLED - $RAILS5_DISABLED
variables: variables:
BUNDLE_GEMFILE: "Gemfile.rails4" BUNDLE_GEMFILE: 'Gemfile.rails4'
RAILS5: "false" RAILS5: 'false'
# Skip all jobs except the ones that begin with 'docs/'. # Skip all jobs except the ones that begin with 'docs/'.
# Used for commits including ONLY documentation changes. # Used for commits including ONLY documentation changes.
...@@ -149,7 +149,7 @@ stages: ...@@ -149,7 +149,7 @@ stages:
.dedicated-no-docs-no-db-pull-cache-job: &dedicated-no-docs-no-db-pull-cache-job .dedicated-no-docs-no-db-pull-cache-job: &dedicated-no-docs-no-db-pull-cache-job
<<: *dedicated-no-docs-pull-cache-job <<: *dedicated-no-docs-pull-cache-job
variables: variables:
SETUP_DB: "false" SETUP_DB: 'false'
.dedicated-no-docs-and-no-qa-pull-cache-job: &dedicated-no-docs-and-no-qa-pull-cache-job .dedicated-no-docs-and-no-qa-pull-cache-job: &dedicated-no-docs-and-no-qa-pull-cache-job
<<: *dedicated-no-docs-pull-cache-job <<: *dedicated-no-docs-pull-cache-job
...@@ -292,7 +292,7 @@ stages: ...@@ -292,7 +292,7 @@ stages:
<<: *dedicated-no-docs-and-no-qa-pull-cache-job <<: *dedicated-no-docs-and-no-qa-pull-cache-job
<<: *use-pg <<: *use-pg
variables: variables:
SETUP_DB: "false" SETUP_DB: 'false'
script: script:
# Manually clone gitlab-test and only seed this project in # Manually clone gitlab-test and only seed this project in
# db/fixtures/development/04_project.rb thanks to SIZE=1 below # db/fixtures/development/04_project.rb thanks to SIZE=1 below
...@@ -315,7 +315,7 @@ stages: ...@@ -315,7 +315,7 @@ stages:
.migration-paths: &migration-paths .migration-paths: &migration-paths
<<: *dedicated-no-docs-and-no-qa-pull-cache-job <<: *dedicated-no-docs-and-no-qa-pull-cache-job
variables: variables:
SETUP_DB: "false" SETUP_DB: 'false'
script: script:
- git fetch https://gitlab.com/gitlab-org/gitlab-ee.git v9.3.0-ee - git fetch https://gitlab.com/gitlab-org/gitlab-ee.git v9.3.0-ee
- git checkout -f FETCH_HEAD - git checkout -f FETCH_HEAD
...@@ -336,7 +336,7 @@ stages: ...@@ -336,7 +336,7 @@ stages:
.migration-paths-upgrade-ce-to-ee: &migration-paths-upgrade-ce-to-ee .migration-paths-upgrade-ce-to-ee: &migration-paths-upgrade-ce-to-ee
<<: *dedicated-no-docs-and-no-qa-pull-cache-job <<: *dedicated-no-docs-and-no-qa-pull-cache-job
variables: variables:
SETUP_DB: "false" SETUP_DB: 'false'
script: script:
- ruby -r./scripts/ee_specific_check/ee_specific_check -e'EESpecificCheck.fetch_remote_ce_branch' - ruby -r./scripts/ee_specific_check/ee_specific_check -e'EESpecificCheck.fetch_remote_ce_branch'
- git checkout -f FETCH_HEAD - git checkout -f FETCH_HEAD
...@@ -434,7 +434,7 @@ cloud-native-image: ...@@ -434,7 +434,7 @@ cloud-native-image:
stage: post-test stage: post-test
allow_failure: true allow_failure: true
variables: variables:
GIT_DEPTH: "1" GIT_DEPTH: '1'
cache: {} cache: {}
script: script:
- gem install gitlab --no-document - gem install gitlab --no-document
...@@ -515,8 +515,8 @@ flaky-examples-check: ...@@ -515,8 +515,8 @@ flaky-examples-check:
services: [] services: []
before_script: [] before_script: []
variables: variables:
SETUP_DB: "false" SETUP_DB: 'false'
USE_BUNDLE_INSTALL: "false" USE_BUNDLE_INSTALL: 'false'
NEW_FLAKY_SPECS_REPORT: rspec_flaky/report-new.json NEW_FLAKY_SPECS_REPORT: rspec_flaky/report-new.json
stage: post-test stage: post-test
allow_failure: true allow_failure: true
...@@ -607,11 +607,11 @@ setup-test-env: ...@@ -607,11 +607,11 @@ setup-test-env:
- gitlab-org - gitlab-org
- docker - docker
variables: &review-docker-variables variables: &review-docker-variables
GIT_DEPTH: "1" GIT_DEPTH: '1'
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://docker:2375 DOCKER_HOST: tcp://docker:2375
LATEST_QA_IMAGE: "gitlab/${CI_PROJECT_NAME}-qa:nightly" LATEST_QA_IMAGE: 'gitlab/${CI_PROJECT_NAME}-qa:nightly'
QA_IMAGE: "${CI_REGISTRY}/${CI_PROJECT_PATH}/gitlab/${CI_PROJECT_NAME}-qa:${CI_COMMIT_REF_SLUG}" QA_IMAGE: '${CI_REGISTRY}/${CI_PROJECT_PATH}/gitlab/${CI_PROJECT_NAME}-qa:${CI_COMMIT_REF_SLUG}'
build-qa-image: build-qa-image:
<<: *review-docker <<: *review-docker
...@@ -691,7 +691,7 @@ static-analysis: ...@@ -691,7 +691,7 @@ static-analysis:
script: script:
- scripts/static-analysis - scripts/static-analysis
cache: cache:
key: "debian-stretch-ruby-2.5.3-node-10.x-and-rubocop" key: 'debian-stretch-ruby-2.5.3-node-10.x-and-rubocop'
paths: paths:
- vendor/ruby - vendor/ruby
- .yarn-cache/ - .yarn-cache/
...@@ -703,10 +703,10 @@ static-analysis: ...@@ -703,10 +703,10 @@ static-analysis:
docs lint: docs lint:
<<: *dedicated-runner <<: *dedicated-runner
<<: *except-qa <<: *except-qa
image: "registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-docs-lint" image: 'registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-docs-lint'
stage: test stage: test
variables: variables:
SETUP_DB: "false" SETUP_DB: 'false'
cache: {} cache: {}
dependencies: [] dependencies: []
before_script: [] before_script: []
...@@ -718,7 +718,8 @@ docs lint: ...@@ -718,7 +718,8 @@ docs lint:
# Build HTML from Markdown # Build HTML from Markdown
- bundle exec nanoc - bundle exec nanoc
# Check the internal links # Check the internal links
- bundle exec nanoc check internal_links # Disabled until https://gitlab.com/gitlab-com/gitlab-docs/issues/305 is resolved
# - bundle exec nanoc check internal_links
downtime_check: downtime_check:
<<: *rake-exec <<: *rake-exec
...@@ -747,7 +748,7 @@ ee_compat_check: ...@@ -747,7 +748,7 @@ ee_compat_check:
- branches@gitlab/gitlab-ee - branches@gitlab/gitlab-ee
retry: 0 retry: 0
artifacts: artifacts:
name: "${CI_JOB_NAME}_${CI_COMIT_REF_NAME}_${CI_COMMIT_SHA}" name: '${CI_JOB_NAME}_${CI_COMIT_REF_NAME}_${CI_COMMIT_SHA}'
when: always when: always
expire_in: 10d expire_in: 10d
paths: paths:
...@@ -820,11 +821,11 @@ gitlab:assets:compile: ...@@ -820,11 +821,11 @@ gitlab:assets:compile:
services: services:
- docker:stable-dind - docker:stable-dind
variables: variables:
NODE_ENV: "production" NODE_ENV: 'production'
RAILS_ENV: "production" RAILS_ENV: 'production'
SETUP_DB: "false" SETUP_DB: 'false'
SKIP_STORAGE_VALIDATION: "true" SKIP_STORAGE_VALIDATION: 'true'
WEBPACK_REPORT: "true" WEBPACK_REPORT: 'true'
# we override the max_old_space_size to prevent OOM errors # we override the max_old_space_size to prevent OOM errors
NODE_OPTIONS: --max_old_space_size=3584 NODE_OPTIONS: --max_old_space_size=3584
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
...@@ -914,7 +915,7 @@ code_quality: ...@@ -914,7 +915,7 @@ code_quality:
services: services:
- docker:stable-dind - docker:stable-dind
variables: variables:
SETUP_DB: "false" SETUP_DB: 'false'
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
cache: {} cache: {}
dependencies: [] dependencies: []
...@@ -999,7 +1000,7 @@ qa:selectors: ...@@ -999,7 +1000,7 @@ qa:selectors:
variables: variables:
NODE_OPTIONS: --max_old_space_size=3584 NODE_OPTIONS: --max_old_space_size=3584
cache: cache:
key: "$CI_JOB_NAME" key: '$CI_JOB_NAME'
paths: paths:
- .yarn-cache/ - .yarn-cache/
dependencies: [] dependencies: []
...@@ -1035,7 +1036,7 @@ coverage: ...@@ -1035,7 +1036,7 @@ coverage:
<<: *except-docs-and-qa <<: *except-docs-and-qa
<<: *pull-cache <<: *pull-cache
variables: variables:
SETUP_DB: "false" SETUP_DB: 'false'
stage: post-test stage: post-test
script: script:
- bundle exec scripts/merge-simplecov - bundle exec scripts/merge-simplecov
...@@ -1104,7 +1105,7 @@ gitlab_git_test: ...@@ -1104,7 +1105,7 @@ gitlab_git_test:
<<: *dedicated-runner <<: *dedicated-runner
<<: *except-docs-and-qa <<: *except-docs-and-qa
variables: variables:
SETUP_DB: "false" SETUP_DB: 'false'
before_script: [] before_script: []
dependencies: [] dependencies: []
cache: {} cache: {}
...@@ -1115,7 +1116,7 @@ no_ee_check: ...@@ -1115,7 +1116,7 @@ no_ee_check:
<<: *dedicated-runner <<: *dedicated-runner
<<: *except-docs-and-qa <<: *except-docs-and-qa
variables: variables:
SETUP_DB: "false" SETUP_DB: 'false'
before_script: [] before_script: []
dependencies: [] dependencies: []
cache: {} cache: {}
...@@ -1130,11 +1131,11 @@ review-deploy: ...@@ -1130,11 +1131,11 @@ review-deploy:
retry: 2 retry: 2
allow_failure: true allow_failure: true
variables: variables:
GIT_DEPTH: "1" GIT_DEPTH: '1'
HOST_SUFFIX: "${CI_ENVIRONMENT_SLUG}" HOST_SUFFIX: '${CI_ENVIRONMENT_SLUG}'
DOMAIN: "-${CI_ENVIRONMENT_SLUG}.${REVIEW_APPS_DOMAIN}" DOMAIN: '-${CI_ENVIRONMENT_SLUG}.${REVIEW_APPS_DOMAIN}'
GITLAB_HELM_CHART_REF: "master" GITLAB_HELM_CHART_REF: 'master'
API_TOKEN: "${GITLAB_BOT_MULTI_PROJECT_PIPELINE_POLLING_TOKEN}" API_TOKEN: '${GITLAB_BOT_MULTI_PROJECT_PIPELINE_POLLING_TOKEN}'
environment: environment:
<<: *review-environment <<: *review-environment
on_stop: review-stop on_stop: review-stop
...@@ -1162,16 +1163,16 @@ review-deploy: ...@@ -1162,16 +1163,16 @@ review-deploy:
allow_failure: true allow_failure: true
variables: variables:
<<: *review-docker-variables <<: *review-docker-variables
API_TOKEN: "${GITLAB_BOT_MULTI_PROJECT_PIPELINE_POLLING_TOKEN}" API_TOKEN: '${GITLAB_BOT_MULTI_PROJECT_PIPELINE_POLLING_TOKEN}'
QA_ARTIFACTS_DIR: "${CI_PROJECT_DIR}/qa" QA_ARTIFACTS_DIR: '${CI_PROJECT_DIR}/qa'
QA_CAN_TEST_GIT_PROTOCOL_V2: "false" QA_CAN_TEST_GIT_PROTOCOL_V2: 'false'
GITLAB_USERNAME: "root" GITLAB_USERNAME: 'root'
GITLAB_PASSWORD: "${REVIEW_APPS_ROOT_PASSWORD}" GITLAB_PASSWORD: '${REVIEW_APPS_ROOT_PASSWORD}'
GITLAB_ADMIN_USERNAME: "root" GITLAB_ADMIN_USERNAME: 'root'
GITLAB_ADMIN_PASSWORD: "${REVIEW_APPS_ROOT_PASSWORD}" GITLAB_ADMIN_PASSWORD: '${REVIEW_APPS_ROOT_PASSWORD}'
GITHUB_ACCESS_TOKEN: "${REVIEW_APPS_QA_GITHUB_ACCESS_TOKEN}" GITHUB_ACCESS_TOKEN: '${REVIEW_APPS_QA_GITHUB_ACCESS_TOKEN}'
EE_LICENSE: "${REVIEW_APPS_EE_LICENSE}" EE_LICENSE: '${REVIEW_APPS_EE_LICENSE}'
QA_DEBUG: "true" QA_DEBUG: 'true'
artifacts: artifacts:
paths: paths:
- ./qa/gitlab-qa-run-* - ./qa/gitlab-qa-run-*
...@@ -1203,7 +1204,7 @@ review-stop: ...@@ -1203,7 +1204,7 @@ review-stop:
allow_failure: true allow_failure: true
variables: variables:
<<: *single-script-job-variables <<: *single-script-job-variables
SCRIPT_NAME: "review_apps/review-apps.sh" SCRIPT_NAME: 'review_apps/review-apps.sh'
when: manual when: manual
environment: environment:
<<: *review-environment <<: *review-environment
...@@ -1218,7 +1219,7 @@ schedule:review-cleanup: ...@@ -1218,7 +1219,7 @@ schedule:review-cleanup:
stage: build stage: build
allow_failure: true allow_failure: true
variables: variables:
GIT_DEPTH: "1" GIT_DEPTH: '1'
environment: environment:
name: review/auto-cleanup name: review/auto-cleanup
only: only:
......
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