Do not retry a CI job when it timed out
Context
Closes #419258 (closed).
What does this MR do and why?
The default number of runs for RSpec jobs is currently 3. This is not necessary for RSpec jobs, as we already retry Rspec inside the job in case of errors.
Also, a retry can cause up to 90min delay in the entire pipeline, so it's a good idea to limit this in case of an incident affecting several pipelines to have a faster feedback.
Results
I added a test commit (!127122 (05fc09d2)) to make some RSpec jobs timeout to see whether the retry is properly working.
To confirm the retry mechanism, only three jobs are listed as failures in the pipeline.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by David Dieulivol