From c370c9d06e540e8ccd861c6ec7e3ed9635577424 Mon Sep 17 00:00:00 2001 From: Kristian Klausen <kristian@klausen.dk> Date: Sun, 18 Feb 2024 18:16:43 +0100 Subject: [PATCH] gitlab_runner: Update concurreny math to reflect the new VM size Fixes: 97bc3928 ("gitlab_runner: raise max memory to 2GB") --- roles/gitlab_runner/templates/config.toml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/gitlab_runner/templates/config.toml.j2 b/roles/gitlab_runner/templates/config.toml.j2 index 57dba9dfa..6f8fee713 100644 --- a/roles/gitlab_runner/templates/config.toml.j2 +++ b/roles/gitlab_runner/templates/config.toml.j2 @@ -32,7 +32,7 @@ listen_address = ":9252" executor = "custom" builds_dir = "/builds" cache_dir = "/cache" - limit = {{ (ansible_memtotal_mb * 0.9 / 1024) | round | int }} + limit = {{ (ansible_memtotal_mb * 0.9 / 2048) | round | int }} environment = ["ARCHIVER_STAGING_DIR=/var/tmp"] [runners.custom] prepare_exec = "/usr/local/bin/libvirt-executor" -- GitLab