mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-01-11 14:30:18 +01:00
gitlab-ci: Mark jobs as interruptible
Allowing redundant pipelines to be automatically cancelled.
This commit is contained in:
parent
1e9c63bedd
commit
b1ee4036bf
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue