From 0865253dd2161fd2e8bbb21cd578dcf70939d2ba Mon Sep 17 00:00:00 2001 From: Denis Pisarev Date: Wed, 30 Oct 2019 23:19:34 +0100 Subject: [PATCH] retry on gitlab system failures (#3970) * retry on gitlab system failures * test * 5 retries for the most popular project * max is just 2 --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1b944157fe9c5..baca78fd3a4ce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -49,6 +49,12 @@ variables: - schedules - web - /^[0-9]+$/ # PRs + retry: + max: 2 + when: + - runner_system_failure + - unknown_failure + - api_failure tags: - linux-docker