From b863ad759b141de0d17a92591c75d11498805d6c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 26 Oct 2022 18:45:21 +0200 Subject: [PATCH] ci: make jobs interruptible by default We're usually not interested in CI on older commits, and this default will help cancelling expensive respdiff jobs. Also add default runner tags to make them less likely to get underspecified. For example, each job should choose one option in the docker/lxc and amd64/arm64 pairs. --- .gitlab-ci.yml | 6 ++++++ ci/pkgtest.yaml | 3 +++ 2 files changed, 9 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1a3aef00a..60dee4d43 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,6 +18,12 @@ variables: EMAIL: 'ci@nic' image: $CI_REGISTRY/knot/knot-resolver/ci/debian-11:knot-$KNOT_VERSION +default: + interruptible: true + tags: + - docker + - linux + - amd64 stages: - build diff --git a/ci/pkgtest.yaml b/ci/pkgtest.yaml index 9d3ad7d4a..74f6ec8d2 100644 --- a/ci/pkgtest.yaml +++ b/ci/pkgtest.yaml @@ -1,3 +1,6 @@ +default: + interruptible: true + stages: - pkgbuild - pkgtest -- 2.47.2