1
1
Fork 0
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-05-09 00:56:22 +02:00

gitlab_runner: Update concurreny math to reflect the new VM size

Fixes: 97bc3928 ("gitlab_runner: raise max memory to 2GB")
This commit is contained in:
Kristian Klausen 2024-02-18 18:16:43 +01:00
parent de2c748cf9
commit c370c9d06e
No known key found for this signature in database
GPG Key ID: E2BE346E410366C3

View File

@ -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"