gitlab-ci: Mark jobs as interruptible
Allowing redundant pipelines to be automatically cancelled.
This commit is contained in:
parent
1e9c63bedd
commit
b1ee4036bf
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue