Mesa (master): gitlab-ci: Automatically retry jobs after runner system failure

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Mar 27 09:20:41 UTC 2019


Module: Mesa
Branch: master
Commit: 6140ed3d2c5409bcdb5c0879411690ef222b086c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6140ed3d2c5409bcdb5c0879411690ef222b086c

Author: Michel Dänzer <michel.daenzer at amd.com>
Date:   Tue Mar 26 18:39:41 2019 +0100

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 <eric.engestrom at intel.com>

---

 .gitlab-ci.yml | 4 ++++
 1 file changed, 4 insertions(+)

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




More information about the mesa-commit mailing list