From 5edc004f95cfcf314dcd935cdf7d4141844f664a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 11 Sep 2020 10:47:25 +1200 Subject: [PATCH] .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 --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) 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} -- 2.47.3