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

Merge branch 'fix-review-build-cng-condition' into 'master'

All review jobs should share the same only & except

Closes #56707

See merge request gitlab-org/gitlab-ce!24579
parents 3b10de4b f2d1aad2
...@@ -427,15 +427,7 @@ setup-test-env: ...@@ -427,15 +427,7 @@ setup-test-env:
- vendor/gitaly-ruby - vendor/gitaly-ruby
# GitLab Review apps # GitLab Review apps
.review-base: &review-base .review-only: &review-only
<<: *dedicated-no-docs-no-db-pull-cache-job
image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-charts-build-base
stage: test
cache: {}
dependencies: []
environment: &review-environment
name: review/${CI_COMMIT_REF_NAME}
url: https://gitlab-${CI_ENVIRONMENT_SLUG}.${REVIEW_APPS_DOMAIN}
only: only:
refs: refs:
- branches@gitlab-org/gitlab-ce - branches@gitlab-org/gitlab-ce
...@@ -445,6 +437,17 @@ setup-test-env: ...@@ -445,6 +437,17 @@ setup-test-env:
refs: refs:
- master - master
- /(^docs[\/-].*|.*-docs$)/ - /(^docs[\/-].*|.*-docs$)/
.review-base: &review-base
<<: *dedicated-no-docs-no-db-pull-cache-job
<<: *review-only
image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-charts-build-base
stage: test
cache: {}
dependencies: []
environment: &review-environment
name: review/${CI_COMMIT_REF_NAME}
url: https://gitlab-${CI_ENVIRONMENT_SLUG}.${REVIEW_APPS_DOMAIN}
before_script: [] before_script: []
.review-docker: &review-docker .review-docker: &review-docker
...@@ -949,6 +952,7 @@ no_ee_check: ...@@ -949,6 +952,7 @@ no_ee_check:
# GitLab Review apps # GitLab Review apps
review-build-cng: review-build-cng:
<<: *single-script-job <<: *single-script-job
<<: *review-only
variables: variables:
<<: *single-script-job-variables <<: *single-script-job-variables
SCRIPT_NAME: trigger-build SCRIPT_NAME: trigger-build
......
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