From aa6b08000257bcb63c69bbbe15a151d9e2456feb Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Tue, 26 Oct 2021 17:34:55 +0700 Subject: [PATCH] ci: Add retries on runner system failures --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 209576fc79..f0ee50659c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -130,6 +130,12 @@ before_script: dependencies: [] extends: .before_script_lesser_nofilter +default: + retry: + max: 2 + # In case of a runner failure we could hop to another one, or a network error could go away. + when: runner_system_failure + include: - '/tools/ci/config/build.yml' - '/tools/ci/config/assign-test.yml'