From: Vladimír Čunát Date: Wed, 26 Oct 2022 16:45:21 +0000 (+0200) Subject: ci: make jobs interruptible by default X-Git-Tag: v5.6.0~14^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b863ad759b141de0d17a92591c75d11498805d6c;p=thirdparty%2Fknot-resolver.git 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. --- 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