Commit 20d60dbe authored by Mark Fletcher's avatar Mark Fletcher

Add rules for rerun jobs

parent 3f9c610e
...@@ -889,6 +889,7 @@ fail-pipeline-early: ...@@ -889,6 +889,7 @@ fail-pipeline-early:
rspec rspec-pg12-rerun-previous-failed-tests: rspec rspec-pg12-rerun-previous-failed-tests:
extends: extends:
- .rspec-base-pg12 - .rspec-base-pg12
- .rails:rules:rerun-previous-failed-tests
stage: test stage: test
needs: ["setup-test-env", "compile-test-assets", "detect-previous-failed-tests"] needs: ["setup-test-env", "compile-test-assets", "detect-previous-failed-tests"]
script: script:
......
...@@ -1204,6 +1204,12 @@ ...@@ -1204,6 +1204,12 @@
- <<: *if-merge-request - <<: *if-merge-request
changes: *code-backstage-patterns changes: *code-backstage-patterns
.rails:rules:rerun-previous-failed-tests:
rules:
- <<: *if-merge-request-labels-run-all-rspec
- <<: *if-merge-request
changes: *code-backstage-patterns
.rails:rules:rspec-foss-impact: .rails:rules:rspec-foss-impact:
rules: rules:
- <<: *if-not-ee - <<: *if-not-ee
......
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