summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-11-12 23:42:21 +0000
committerEric Engestrom <[email protected]>2019-11-14 17:32:31 +0000
commitac78ca4b39ce6e927f824b928d17f30c1d9273ce (patch)
treecabf553097e2e6bed83038e9aa9847c6ebe9ea95 /.gitlab-ci.yml
parent9b8dc6929ed075d219a7cf5a4371c950c29ceb7d (diff)
gitlab-ci: auto-cancel CI runs when a newer commit is pushed to the same branch
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]> Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 77219842df8..895017a6873 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -69,6 +69,8 @@ stages:
max: 2
when:
- runner_system_failure
+ # Cancel CI run if a newer commit is pushed to the same branch
+ interruptible: true
.ci-deqp-artifacts:
artifacts: