summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci
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
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')
-rw-r--r--.gitlab-ci/lava-gitlab-ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitlab-ci/lava-gitlab-ci.yml b/.gitlab-ci/lava-gitlab-ci.yml
index b95dbea964a..e9b324b60c4 100644
--- a/.gitlab-ci/lava-gitlab-ci.yml
+++ b/.gitlab-ci/lava-gitlab-ci.yml
@@ -17,6 +17,8 @@ include:
max: 2
when:
- runner_system_failure
+ # Cancel CI run if a newer commit is pushed to the same branch
+ interruptible: true
# Build Docker image with deqp, the rootfs and the build deps for Mesa
.lava-container: