From 50734c968916000a64f69b4b19141b2e15357be1 Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki Date: Thu, 15 May 2025 15:22:49 +0200 Subject: [PATCH] ci: make all jobs interruptible This way they can be automatically cancelled by GitLab when a new commit is pushed to a merge request, this providing feedback to the tip of the branch or pull request more rapidly. Signed-off-by: Zygmunt Krynicki --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 393f6c72c..c916cb2ba 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,7 @@ stages: - spread .ubuntu-common: + interruptible: true before_script: # Install build-dependencies by loading the package list from the ubuntu/debian cloud-init profile. - printf '\e[0K%s:%s:%s[collapsed=true]\r\e[0K%s\n' section_start "$(date +%s)" install_deps "Installing dependencies..." @@ -163,6 +164,7 @@ variables: coverity: stage: .post + interruptible: true extends: - .ubuntu-common script: @@ -187,6 +189,7 @@ coverity: .image-garden-x86_64: stage: spread + interruptible: true # TODO: use tagged release once container tagging is improved upstream. image: registry.gitlab.com/zygoon/image-garden:latest tags: