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

Merge branch 'alberts-add-ci-pattern-to-rspec-mr-rules' into 'master'

Add CI pattern to rspec rules for merge requests

See merge request gitlab-org/gitlab!67314
parents abc7f820 19179966
...@@ -603,6 +603,8 @@ ...@@ -603,6 +603,8 @@
.rails:rules:ee-and-foss-migration: .rails:rules:ee-and-foss-migration:
rules: rules:
- <<: *if-merge-request-title-run-all-rspec - <<: *if-merge-request-title-run-all-rspec
- <<: *if-merge-request
changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
changes: *db-patterns changes: *db-patterns
- <<: *if-merge-request-not-approved - <<: *if-merge-request-not-approved
...@@ -640,6 +642,8 @@ ...@@ -640,6 +642,8 @@
.rails:rules:ee-and-foss-unit: .rails:rules:ee-and-foss-unit:
rules: rules:
- <<: *if-merge-request-title-run-all-rspec - <<: *if-merge-request-title-run-all-rspec
- <<: *if-merge-request
changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
changes: *backend-patterns changes: *backend-patterns
- <<: *if-merge-request-not-approved - <<: *if-merge-request-not-approved
...@@ -663,6 +667,8 @@ ...@@ -663,6 +667,8 @@
.rails:rules:ee-and-foss-integration: .rails:rules:ee-and-foss-integration:
rules: rules:
- <<: *if-merge-request-title-run-all-rspec - <<: *if-merge-request-title-run-all-rspec
- <<: *if-merge-request
changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
changes: *backend-patterns changes: *backend-patterns
- <<: *if-merge-request-not-approved - <<: *if-merge-request-not-approved
...@@ -686,6 +692,8 @@ ...@@ -686,6 +692,8 @@
.rails:rules:ee-and-foss-system: .rails:rules:ee-and-foss-system:
rules: rules:
- <<: *if-merge-request-title-run-all-rspec - <<: *if-merge-request-title-run-all-rspec
- <<: *if-merge-request
changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
changes: *code-backstage-patterns changes: *code-backstage-patterns
- <<: *if-merge-request-not-approved - <<: *if-merge-request-not-approved
...@@ -709,6 +717,8 @@ ...@@ -709,6 +717,8 @@
.rails:rules:ee-and-foss-fast_spec_helper: .rails:rules:ee-and-foss-fast_spec_helper:
rules: rules:
- <<: *if-merge-request-title-run-all-rspec - <<: *if-merge-request-title-run-all-rspec
- <<: *if-merge-request
changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
changes: ["config/**/*"] changes: ["config/**/*"]
- <<: *if-merge-request-not-approved - <<: *if-merge-request-not-approved
...@@ -739,6 +749,8 @@ ...@@ -739,6 +749,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-title-run-all-rspec - <<: *if-merge-request-title-run-all-rspec
- <<: *if-merge-request
changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
changes: *db-patterns changes: *db-patterns
- <<: *if-merge-request-not-approved - <<: *if-merge-request-not-approved
...@@ -766,6 +778,8 @@ ...@@ -766,6 +778,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-title-run-all-rspec - <<: *if-merge-request-title-run-all-rspec
- <<: *if-merge-request
changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
changes: *backend-patterns changes: *backend-patterns
- <<: *if-merge-request-not-approved - <<: *if-merge-request-not-approved
...@@ -793,6 +807,8 @@ ...@@ -793,6 +807,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-title-run-all-rspec - <<: *if-merge-request-title-run-all-rspec
- <<: *if-merge-request
changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
changes: *backend-patterns changes: *backend-patterns
- <<: *if-merge-request-not-approved - <<: *if-merge-request-not-approved
...@@ -820,6 +836,8 @@ ...@@ -820,6 +836,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-title-run-all-rspec - <<: *if-merge-request-title-run-all-rspec
- <<: *if-merge-request
changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
changes: *code-backstage-patterns changes: *code-backstage-patterns
- <<: *if-merge-request-not-approved - <<: *if-merge-request-not-approved
...@@ -847,6 +865,8 @@ ...@@ -847,6 +865,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-title-run-all-rspec - <<: *if-merge-request-title-run-all-rspec
- <<: *if-merge-request
changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
changes: *db-patterns changes: *db-patterns
- <<: *if-merge-request-not-approved - <<: *if-merge-request-not-approved
...@@ -855,8 +875,6 @@ ...@@ -855,8 +875,6 @@
changes: *db-patterns changes: *db-patterns
- <<: *if-merge-request-title-as-if-foss - <<: *if-merge-request-title-as-if-foss
changes: *db-patterns changes: *db-patterns
- <<: *if-merge-request
changes: *ci-patterns
.rails:rules:as-if-foss-migration:minimal: .rails:rules:as-if-foss-migration:minimal:
rules: rules:
...@@ -879,6 +897,8 @@ ...@@ -879,6 +897,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-title-run-all-rspec - <<: *if-merge-request-title-run-all-rspec
- <<: *if-merge-request
changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
changes: *backend-patterns changes: *backend-patterns
- <<: *if-merge-request-not-approved - <<: *if-merge-request-not-approved
...@@ -887,8 +907,6 @@ ...@@ -887,8 +907,6 @@
changes: *backend-patterns changes: *backend-patterns
- <<: *if-merge-request-title-as-if-foss - <<: *if-merge-request-title-as-if-foss
changes: *backend-patterns changes: *backend-patterns
- <<: *if-merge-request
changes: *ci-patterns
.rails:rules:as-if-foss-unit:minimal: .rails:rules:as-if-foss-unit:minimal:
rules: rules:
...@@ -911,6 +929,8 @@ ...@@ -911,6 +929,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-title-run-all-rspec - <<: *if-merge-request-title-run-all-rspec
- <<: *if-merge-request
changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
changes: *backend-patterns changes: *backend-patterns
- <<: *if-merge-request-not-approved - <<: *if-merge-request-not-approved
...@@ -919,8 +939,6 @@ ...@@ -919,8 +939,6 @@
changes: *backend-patterns changes: *backend-patterns
- <<: *if-merge-request-title-as-if-foss - <<: *if-merge-request-title-as-if-foss
changes: *backend-patterns changes: *backend-patterns
- <<: *if-merge-request
changes: *ci-patterns
.rails:rules:as-if-foss-integration:minimal: .rails:rules:as-if-foss-integration:minimal:
rules: rules:
...@@ -943,6 +961,8 @@ ...@@ -943,6 +961,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-title-run-all-rspec - <<: *if-merge-request-title-run-all-rspec
- <<: *if-merge-request
changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
changes: *code-backstage-patterns changes: *code-backstage-patterns
- <<: *if-merge-request-not-approved - <<: *if-merge-request-not-approved
...@@ -951,8 +971,6 @@ ...@@ -951,8 +971,6 @@
changes: *code-backstage-patterns changes: *code-backstage-patterns
- <<: *if-merge-request-title-as-if-foss - <<: *if-merge-request-title-as-if-foss
changes: *code-backstage-patterns changes: *code-backstage-patterns
- <<: *if-merge-request
changes: *ci-patterns
.rails:rules:as-if-foss-system:minimal: .rails:rules:as-if-foss-system:minimal:
rules: 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