From c4b287c15d7d6e607657d587e4d7ab7b3c4d6ec5 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 6 May 2021 11:10:28 +0100 Subject: [PATCH] CI: mark build jobs as interruptible Mark the build jobs as interruptible, as they don't write to shared resources (unlike update-repos or get-binary-toolchains). This means that if the same branch is pushed again GitLab is likely to be able to abort the obsolete pipeline to start the new build sooner. Change-Id: I9284273e9b3118b616d3cb062cb957d98fc5e37e Signed-off-by: Ross Burton --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df095c21..8c2ef59a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,6 +25,7 @@ stages: # Generalised fragment to do a Kas build .build: extends: .setup + interruptible: true script: - KASFILES=$(ci/jobs-to-kas $CI_JOB_NAME) - kas shell --update --force-checkout $KASFILES -c 'cat conf/*.conf'