]> git.ipfire.org Git - thirdparty/git.git/commit
gitlab-ci: upgrade machine type of Linux runners
authorPatrick Steinhardt <ps@pks.im>
Wed, 18 Sep 2024 06:49:37 +0000 (08:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Sep 2024 21:39:53 +0000 (14:39 -0700)
commit5c5d29e1c4832a4ce754d1b281e621fa4dcb4108
tree901c49bde222d1c65b0854e400342e0b7071a9ad
parente29e5cf288141a51823bbd6d2da90105c42a10c1
gitlab-ci: upgrade machine type of Linux runners

With the recent effort to make the test suite free of memory leaks we
now run a lot more of test suites with the leak-sanitizer enabled. While
we were originally only executing around 23000 tests, we're now at 30000
tests. Naturally, this has a significant impact on the runtime of such a
test run.

Naturally, this impact can also be felt for our leak-checking CI jobs.
While macOS used to be the slowest-executing job on GitLab CI with ~15
minutes of runtime, nowadays it is our leak checks which take around 45
to 55 minutes.

Our Linux runners for GitLab CI are untagged, which means that they
default to the "small" machine type with two CPU cores [1]. Upgrade
these to the "medium" runner, which provide four CPU cores and which
should thus provide a noticeable speedup.

In theory, we could upgrade to an ever larger machine than that. The
official mirror [2] has an Ultimate license, so we could get up to 128
cores. But anybody running a fork of the Git project without such a
license wouldn't be able to use those beefier machines and thus their
pipelines would fail.

[1]: https://docs.gitlab.com/ee/ci/runners/hosted_runners/linux.html
[2]: https://gitlab.com/git-scm/git/

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitlab-ci.yml