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

Merge branch '341556-run-all-rspec-on-gemfile' into 'master'

Run full rspec suite on core backend changes

See merge request gitlab-org/gitlab!71524
parents 7f166104 a01345c7
...@@ -354,6 +354,10 @@ ...@@ -354,6 +354,10 @@
- "danger/**/*" - "danger/**/*"
- "tooling/danger/**/*" - "tooling/danger/**/*"
.core-backend-patterns: &core-backend-patterns
- "{,jh/}Gemfile{,.lock}"
- "{,ee/,jh/}config/**/*.rb"
.core-frontend-patterns: &core-frontend-patterns .core-frontend-patterns: &core-frontend-patterns
- "{package.json,yarn.lock}" - "{package.json,yarn.lock}"
- "babel.config.js" - "babel.config.js"
...@@ -657,6 +661,8 @@ ...@@ -657,6 +661,8 @@
.rails:rules:ee-and-foss-migration: .rails:rules:ee-and-foss-migration:
rules: rules:
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *core-backend-patterns
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
- <<: *if-merge-request - <<: *if-merge-request
...@@ -675,6 +681,9 @@ ...@@ -675,6 +681,9 @@
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
when: never when: never
- <<: *if-merge-request
changes: *core-backend-patterns
when: never
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
when: never when: never
...@@ -699,6 +708,8 @@ ...@@ -699,6 +708,8 @@
.rails:rules:ee-and-foss-unit: .rails:rules:ee-and-foss-unit:
rules: rules:
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *core-backend-patterns
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
...@@ -715,6 +726,9 @@ ...@@ -715,6 +726,9 @@
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
when: never when: never
- <<: *if-merge-request
changes: *core-backend-patterns
when: never
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
when: never when: never
...@@ -724,6 +738,8 @@ ...@@ -724,6 +738,8 @@
.rails:rules:ee-and-foss-integration: .rails:rules:ee-and-foss-integration:
rules: rules:
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *core-backend-patterns
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
...@@ -740,6 +756,9 @@ ...@@ -740,6 +756,9 @@
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
when: never when: never
- <<: *if-merge-request
changes: *core-backend-patterns
when: never
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
when: never when: never
...@@ -749,6 +768,8 @@ ...@@ -749,6 +768,8 @@
.rails:rules:ee-and-foss-system: .rails:rules:ee-and-foss-system:
rules: rules:
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *core-backend-patterns
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
...@@ -765,6 +786,9 @@ ...@@ -765,6 +786,9 @@
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
when: never when: never
- <<: *if-merge-request
changes: *core-backend-patterns
when: never
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
when: never when: never
...@@ -774,6 +798,8 @@ ...@@ -774,6 +798,8 @@
.rails:rules:ee-and-foss-fast_spec_helper: .rails:rules:ee-and-foss-fast_spec_helper:
rules: rules:
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *core-backend-patterns
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
...@@ -790,6 +816,9 @@ ...@@ -790,6 +816,9 @@
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
when: never when: never
- <<: *if-merge-request
changes: *core-backend-patterns
when: never
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
when: never when: never
...@@ -806,6 +835,8 @@ ...@@ -806,6 +835,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *core-backend-patterns
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
- <<: *if-merge-request - <<: *if-merge-request
...@@ -826,6 +857,9 @@ ...@@ -826,6 +857,9 @@
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
when: never when: never
- <<: *if-merge-request
changes: *core-backend-patterns
when: never
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
when: never when: never
...@@ -838,6 +872,8 @@ ...@@ -838,6 +872,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *core-backend-patterns
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
...@@ -856,6 +892,9 @@ ...@@ -856,6 +892,9 @@
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
when: never when: never
- <<: *if-merge-request
changes: *core-backend-patterns
when: never
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
when: never when: never
...@@ -867,6 +906,8 @@ ...@@ -867,6 +906,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *core-backend-patterns
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
...@@ -885,6 +926,9 @@ ...@@ -885,6 +926,9 @@
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
when: never when: never
- <<: *if-merge-request
changes: *core-backend-patterns
when: never
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
when: never when: never
...@@ -896,6 +940,8 @@ ...@@ -896,6 +940,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *core-backend-patterns
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
...@@ -914,6 +960,9 @@ ...@@ -914,6 +960,9 @@
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
when: never when: never
- <<: *if-merge-request
changes: *core-backend-patterns
when: never
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
when: never when: never
...@@ -925,6 +974,8 @@ ...@@ -925,6 +974,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *core-backend-patterns
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
- <<: *if-security-merge-request - <<: *if-security-merge-request
...@@ -944,6 +995,9 @@ ...@@ -944,6 +995,9 @@
when: never when: never
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
when: never when: never
- <<: *if-merge-request
changes: *core-backend-patterns
when: never
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
when: never when: never
...@@ -959,6 +1013,8 @@ ...@@ -959,6 +1013,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *core-backend-patterns
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
...@@ -978,6 +1034,9 @@ ...@@ -978,6 +1034,9 @@
when: never when: never
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
when: never when: never
- <<: *if-merge-request
changes: *core-backend-patterns
when: never
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
when: never when: never
...@@ -991,6 +1050,8 @@ ...@@ -991,6 +1050,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *core-backend-patterns
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
...@@ -1010,6 +1071,9 @@ ...@@ -1010,6 +1071,9 @@
when: never when: never
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
when: never when: never
- <<: *if-merge-request
changes: *core-backend-patterns
when: never
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
when: never when: never
...@@ -1023,6 +1087,8 @@ ...@@ -1023,6 +1087,8 @@
- <<: *if-not-ee - <<: *if-not-ee
when: never when: never
- <<: *if-merge-request-labels-run-all-rspec - <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *core-backend-patterns
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
...@@ -1042,6 +1108,9 @@ ...@@ -1042,6 +1108,9 @@
when: never when: never
- <<: *if-automated-merge-request - <<: *if-automated-merge-request
when: never when: never
- <<: *if-merge-request
changes: *core-backend-patterns
when: never
- <<: *if-merge-request - <<: *if-merge-request
changes: *ci-patterns changes: *ci-patterns
when: never when: never
......
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