Commit adcac7e4 authored by Sean McGivern's avatar Sean McGivern

Merge branch '207388-fix-docs-only-ci' into 'master'

Make sure docs only merge requests can run CI

Closes #207388

See merge request gitlab-org/gitlab!25612
parents 1f3a8d10 c31bd991
......@@ -46,9 +46,7 @@ docs lint:
- .docs:rules:docs-lint
image: "registry.gitlab.com/gitlab-org/gitlab-docs:docs-lint"
stage: test
needs:
- job: "retrieve-tests-metadata"
artifacts: false
needs: []
script:
- scripts/lint-doc.sh
# Lint Markdown
......
......@@ -8,6 +8,10 @@
memory-static:
extends: .only-code-memory-job-base
stage: test
needs:
- job: setup-test-env
artifacts: true
variables:
SETUP_DB: "false"
script:
......@@ -36,6 +40,12 @@ memory-on-boot:
extends:
- .only-code-memory-job-base
- .use-pg10
stage: test
needs:
- job: setup-test-env
artifacts: true
- job: compile-assets pull-cache
artifacts: true
variables:
NODE_ENV: "production"
RAILS_ENV: "production"
......
......@@ -3,9 +3,7 @@
- .default-tags
- .default-retry
stage: test
needs:
- job: "retrieve-tests-metadata"
artifacts: false
needs: []
cache:
key: "qa-framework-jobs:v1"
paths:
......
......@@ -12,9 +12,7 @@ code_quality:
- .default-retry
- .reports:rules:code_quality
stage: test
needs:
- job: "retrieve-tests-metadata"
artifacts: false
needs: []
image: docker:stable
allow_failure: true
services:
......@@ -54,9 +52,7 @@ sast:
- .reports:rules:sast
stage: test
allow_failure: true
needs:
- job: "retrieve-tests-metadata"
artifacts: false
needs: []
artifacts:
paths:
- gl-sast-report.json # GitLab-specific
......@@ -94,9 +90,7 @@ dependency_scanning:
- .default-retry
- .reports:rules:dependency_scanning
stage: test
needs:
- job: "retrieve-tests-metadata"
artifacts: false
needs: []
image: docker:stable
variables:
DOCKER_DRIVER: overlay2
......
......@@ -248,9 +248,7 @@ danger-review:
- .review:rules:danger
image: registry.gitlab.com/gitlab-org/gitlab-build-images:danger
stage: test
needs:
- job: "retrieve-tests-metadata"
artifacts: false
needs: []
script:
- git version
- node --version
......
......@@ -23,12 +23,13 @@ cache gems:
extends:
- .default-tags
- .default-retry
dependencies: []
needs: []
gitlab_git_test:
extends:
- .minimal-job
- .setup:rules:gitlab_git_test
stage: test
script:
- spec/support/prepare-gitlab-git-test-for-commit --check-for-changes
......@@ -36,5 +37,6 @@ no_ee_check:
extends:
- .minimal-job
- .setup:rules:no_ee_check
stage: test
script:
- scripts/no-ee-check
......@@ -6,7 +6,8 @@ lint-ci-gitlab:
- .default-retry
- .yaml:rules
image: sdesbure/yamllint:latest
dependencies: []
stage: test
needs: []
variables:
LINT_PATHS: .gitlab-ci.yml .gitlab/ci lib/gitlab/ci/templates changelogs
script:
......
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