From: Eric Engestrom Date: Tue, 12 Nov 2019 23:42:21 +0000 (+0000) Subject: gitlab-ci: auto-cancel CI runs when a newer commit is pushed to the same branch X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac78ca4b39ce6e927f824b928d17f30c1d9273ce;p=mesa.git gitlab-ci: auto-cancel CI runs when a newer commit is pushed to the same branch Signed-off-by: Eric Engestrom Reviewed-by: Eric Anholt Acked-by: Alyssa Rosenzweig Reviewed-by: Michel Dänzer --- 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: