From: Andrew Bartlett Date: Thu, 10 Sep 2020 22:47:25 +0000 (+1200) Subject: .gitlab-ci.yml: Set interuptable: true X-Git-Tag: talloc-2.3.2~375 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5edc004f95cfcf314dcd935cdf7d4141844f664a;p=thirdparty%2Fsamba.git .gitlab-ci.yml: Set interuptable: true This should reduce some CI costs, avoiding spending CPU time on jobs that are already out of date because a new branch has been pushed. Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20fd9f56a50..4ae83acf2a5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -52,6 +52,10 @@ include: - 'bootstrap/.gitlab-ci.yml' .shared_template: + # All Samba jobs are interruptible, this avoids burning CPU when a + # newer branch is pushed. + interruptible: true + variables: AUTOBUILD_JOB_NAME: $CI_JOB_NAME image: ${SAMBA_CI_CONTAINER_REGISTRY}/samba-ci-${SAMBA_CI_CONTAINER_IMAGE}:${SAMBA_CI_CONTAINER_TAG}