summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-04-09 10:04:03 +0000
committerSean McGivern <sean@gitlab.com>2019-04-09 10:04:03 +0000
commit0991dc8c823cdc04ec1e298651b45f7a9cf8f82a (patch)
tree5a8b6c84f9e62096a975c9b83d770a4f5eceac1a /.gitlab-ci.yml
parent089b9e572c47fb9239e2516f6b1e66a890b90619 (diff)
downloadgitlab-ce-0991dc8c823cdc04ec1e298651b45f7a9cf8f82a.tar.gz
Reduce number of rspec retries
In both e2e QA tests and unit tests, reduce the number of retires to 2 (i.e., 1 initial and one retry)
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ee0cb0de0b6..7d01afc9a16 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -4,7 +4,12 @@ include:
- local: /lib/gitlab/ci/templates/Code-Quality.gitlab-ci.yml
.dedicated-runner: &dedicated-runner
- retry: 1
+ retry:
+ max: 1 # This is confusing but this means "2 runs at max".
+ when:
+ - unknown_failure
+ - api_failure
+ - runner_system_failure
tags:
- gitlab-org
@@ -1168,4 +1173,3 @@ schedule:review-performance:
<<: *review-schedules-only
script:
- wait_for_job_to_be_done "schedule:review-deploy"
-