Commit fee147d7 authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer

gitlab-ci: Retry jobs after runner system failures

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.

Inspired by
mesa/mesa@6140ed3dReviewed-by: Eric Anholt's avatarEric Anholt <>
parent b5ef99f2
......@@ -30,11 +30,20 @@ stages:
- docker-image
- build-and-test
# Retry jobs after runner system failures
.retry: &retry
max: 2
- runner_system_failure
extends: .debian@container-ifnot-exists
stage: docker-image
<<: *retry
<<: *retry
stage: build-and-test
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment