From e3893d5e394e42d96e8d8c1f5fb4065babcca32c 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 --- substrate/.gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/substrate/.gitlab-ci.yml b/substrate/.gitlab-ci.yml index 1b944157fe..baca78fd3a 100644 --- a/substrate/.gitlab-ci.yml +++ b/substrate/.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