]> git.ipfire.org Git - thirdparty/bind9.git/commit
Automatically cancel CI jobs on outdated branches
authorPetr Špaček <pspacek@isc.org>
Fri, 5 Nov 2021 10:39:07 +0000 (11:39 +0100)
committerPetr Špaček <pspacek@isc.org>
Tue, 9 Nov 2021 12:19:40 +0000 (13:19 +0100)
commita01d9606bbcc9b243710d2665e7c56fddeadc853
tree3f6cda6087686fb8646ef12ba0b110873a9d5254
parent22aa9e7eda677a7d510ecde56d85d459adbcc2f4
Automatically cancel CI jobs on outdated branches

Gitlab feature
https://docs.gitlab.com/ee/ci/pipelines/settings.html#auto-cancel-redundant-pipelines
can automatically cancel jobs which operate on an outdated code, i.e. on
branches which received new commits while jobs with an older set of
commits are still running. For this feature to work jobs have to be
configured with boolean interruptible: true.

I think practically all of our current CI jobs can be cancelled,
so the option is now on by default for all jobs.
.gitlab-ci.yml