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

Merge branch 'disable-review-build-stable-branch' into 'master'

Disable review jobs for deploy and stable branches

See merge request gitlab-org/gitlab!17357
parents 53829fb2 62fd2ebd
...@@ -100,6 +100,7 @@ ...@@ -100,6 +100,7 @@
refs: refs:
- master - master
- /^\d+-\d+-auto-deploy-\d+$/ - /^\d+-\d+-auto-deploy-\d+$/
- /^[\d-]+-stable(-ee)?$/
.only-review-schedules: .only-review-schedules:
only: only:
......
.except-deploys:
except:
refs:
- /^[\d-]+-stable(-ee)?$/
- /^\d+-\d+-auto-deploy-\d+$/
.review-docker: .review-docker:
extends: extends:
- .default-tags - .default-tags
- .default-retry - .default-retry
- .default-only - .default-only
- .except-deploys
image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-qa-alpine image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-qa-alpine
services: services:
- docker:19.03.0-dind - docker:19.03.0-dind
...@@ -36,6 +43,7 @@ schedule:review-cleanup: ...@@ -36,6 +43,7 @@ schedule:review-cleanup:
- .default-only - .default-only
- .only-code-qa-changes - .only-code-qa-changes
- .only-review-schedules - .only-review-schedules
- .except-deploys
stage: prepare stage: prepare
image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-charts-build-base image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-charts-build-base
allow_failure: true allow_failure: true
...@@ -52,6 +60,7 @@ schedule:review-cleanup: ...@@ -52,6 +60,7 @@ schedule:review-cleanup:
extends: extends:
- .default-only - .default-only
- .only-code-qa-changes - .only-code-qa-changes
- .except-deploys
image: ruby:2.6-alpine image: ruby:2.6-alpine
stage: review-prepare stage: review-prepare
before_script: before_script:
...@@ -80,6 +89,7 @@ schedule:review-build-cng: ...@@ -80,6 +89,7 @@ schedule:review-build-cng:
- .default-retry - .default-retry
- .default-only - .default-only
- .only-code-qa-changes - .only-code-qa-changes
- .except-deploys
stage: review stage: review
image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-charts-build-base image: registry.gitlab.com/gitlab-org/gitlab-build-images:gitlab-charts-build-base
dependencies: [] dependencies: []
...@@ -257,6 +267,7 @@ parallel-spec-reports: ...@@ -257,6 +267,7 @@ parallel-spec-reports:
- .default-only - .default-only
- .only-code-qa-changes - .only-code-qa-changes
- .only-review - .only-review
- .except-deploys
image: ruby:2.6-alpine image: ruby:2.6-alpine
stage: post-test stage: post-test
dependencies: ["review-qa-all"] dependencies: ["review-qa-all"]
......
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