Commit 32f026c3 authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'consistent-setup-test-env-rules' into 'master'

Allow setup-test-env run for anything needs tests

See merge request gitlab-org/gitlab!55826
parents 9458c49d 8f754e7b
......@@ -142,7 +142,7 @@ setup-test-env:
extends:
- .rails-job-base
- .setup-test-env-cache
- .rails:rules:default-refs-code-backstage-qa
- .rails:rules:code-backstage-qa
- .use-pg11
stage: prepare
variables:
......@@ -244,7 +244,7 @@ update-static-analysis-cache:
static-analysis:
extends:
- .static-analysis-base
- .rails:rules:default-refs-code-backstage-qa
- .rails:rules:code-backstage-qa
stage: test
parallel: 4
script:
......
......@@ -610,10 +610,9 @@
- <<: *if-merge-request
changes: ["config/**/*"]
.rails:rules:default-refs-code-backstage-qa:
.rails:rules:code-backstage-qa:
rules:
- <<: *if-default-refs
changes: *code-backstage-qa-patterns
- changes: *code-backstage-qa-patterns
- <<: *if-merge-request-title-run-all-rspec
.rails:rules:ee-only-migration:
......@@ -825,8 +824,7 @@
.rails:rules:detect-tests:
rules:
- <<: *if-default-refs
changes: *code-backstage-patterns
- changes: *code-backstage-patterns
- <<: *if-merge-request-title-run-all-rspec
.rails:rules:rspec-foss-impact:
......@@ -1139,8 +1137,7 @@
#######################
.test-metadata:rules:retrieve-tests-metadata:
rules:
- <<: *if-default-refs
changes: *code-backstage-patterns
- changes: *code-backstage-patterns
when: on_success
- <<: *if-merge-request-title-run-all-rspec
......
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