summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2019-03-26 18:39:41 +0100
committerMichel Dänzer <[email protected]>2019-03-27 10:05:43 +0100
commit6140ed3d2c5409bcdb5c0879411690ef222b086c (patch)
treed2a684150f9ec82e3bcaa0ccb285ba3c1a382abd /.gitlab-ci.yml
parenta3f34f9d8501b4708e8b22eeee3665eee93edbf6 (diff)
gitlab-ci: Automatically retry jobs after runner system failure
Up to twice, for a total of 3 attempts maximum. This will hopefully avoid spurious CI pipeline failures due to intermittent GitLab/docker infrastructure issues. Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 5e15f1e2f94..87968b61328 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -31,6 +31,10 @@ stages:
- master
- merge_requests
- /^ci([-/].*)?$/
+ retry:
+ max: 2
+ when:
+ - runner_system_failure
# CONTAINERS