Mesa (master): gitlab-ci: auto-cancel CI runs when a newer commit is pushed to the same branch
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Nov 14 17:33:01 UTC 2019
Module: Mesa
Branch: master
Commit: ac78ca4b39ce6e927f824b928d17f30c1d9273ce
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ac78ca4b39ce6e927f824b928d17f30c1d9273ce
Author: Eric Engestrom <eric.engestrom at intel.com>
Date: Tue Nov 12 23:42:21 2019 +0000
gitlab-ci: auto-cancel CI runs when a newer commit is pushed to the same branch
Signed-off-by: Eric Engestrom <eric.engestrom at intel.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Acked-by: Alyssa Rosenzweig <alyssa at rosenzweig.io>
Reviewed-by: Michel Dänzer <mdaenzer at redhat.com>
---
.gitlab-ci.yml | 2 ++
.gitlab-ci/lava-gitlab-ci.yml | 2 ++
2 files changed, 4 insertions(+)
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:
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:
More information about the mesa-commit
mailing list