Commit fbaeb915 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'team-task-557-disable-coverage-for-master-pushes-and-mrs' into 'master'

Run coverage on 2-hour scheduled pipelines only

Closes gitlab-org/quality/team-tasks#557

See merge request gitlab-org/gitlab!35244
parents 82e64056 48e5c472
......@@ -224,7 +224,7 @@ gitlab:setup:
rspec:coverage:
extends:
- .rails-job-base
- .rails:rules:ee-mr-and-master-only
- .rails:rules:rspec-coverage
stage: post-test
# We cannot use needs since it would mean needing 84 jobs (since most are parallelized)
# so we use `dependencies` here.
......
......@@ -390,9 +390,7 @@
rules:
- <<: *if-not-ee
when: never
- <<: *if-dot-com-gitlab-org-master
changes: *code-backstage-qa-patterns
when: on_success
- <<: *if-master-schedule-2-hourly
############
# QA rules #
......@@ -545,6 +543,12 @@
- <<: *if-merge-request
changes: *code-backstage-patterns
.rails:rules:rspec-coverage:
rules:
- <<: *if-not-ee
when: never
- <<: *if-master-schedule-2-hourly
##################
# Releases rules #
##################
......
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