.gitlab-ci.yml: add retries on runner_system_failure/stuck_or_timeout_failure
authorStefan Metzmacher <metze@samba.org>
Mon, 11 Feb 2019 11:53:03 +0000 (12:53 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Feb 2019 01:18:30 +0000 (02:18 +0100)
This hopefully avoids pipeline failures due too docker/runner
errors.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
.gitlab-ci.yml

index 2dbfd87..ce924c2 100644 (file)
@@ -33,6 +33,11 @@ variables:
       - "*.stderr"
       - system-info.txt
       - /tmp/samba-testbase/*/*/bin/config.log
+  retry:
+    max: 2
+    when:
+      - runner_system_failure
+      - stuck_or_timeout_failure
 
 samba_none_env:
   extends: .shared_template