gitlab-ci: Mark jobs as interruptible

Allowing redundant pipelines to be automatically cancelled.
This commit is contained in:
Michel Dänzer 2019-12-23 10:06:25 +01:00 committed by Peter Hutterer
parent 1e9c63bedd
commit b1ee4036bf
1 changed files with 3 additions and 1 deletions

View File

@ -30,12 +30,14 @@ stages:
- docker-image
- build-and-test
# Retry jobs after runner system failures
.ci-run-policy:
# Retry jobs after runner system failures
retry:
max: 2
when:
- runner_system_failure
# Cancel CI run if a newer commit is pushed to the same branch
interruptible: true
debian-testing:
extends: