Commit 1e9c63be authored by Michel Dänzer's avatar Michel Dänzer Committed by Peter Hutterer
Browse files

gitlab-ci: Turn .retry YAML anchor into .ci-run-policy template

To match Mesa.
parent 456dff1b
......@@ -31,19 +31,20 @@ stages:
- build-and-test
# Retry jobs after runner system failures
.retry: &retry
.ci-run-policy:
retry:
max: 2
when:
- runner_system_failure
debian-testing:
extends: .debian@container-ifnot-exists
extends:
- .debian@container-ifnot-exists
- .ci-run-policy
stage: docker-image
<<: *retry
.common-build-and-test:
<<: *retry
extends: .ci-run-policy
stage: build-and-test
image: $IMAGE_LOCAL
artifacts:
......
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