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

View File

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