Skip to content
Snippets Groups Projects
Unverified Commit 3cff31e6 authored by Samuel Jaeschke's avatar Samuel Jaeschke Committed by GitHub
Browse files

Fix concurrency auto-detection

Auto-detect runner concurrency based on total CPU threads (vcpus), instead of only processor cores. This accounts for both multiple cores and multiple processors.

See https://stackoverflow.com/questions/39539559/ansible-procesor-count-vs-processor-cores-vs-processor-vcpus
parent ca6da350
Branches
Tags
No related merge requests found
......@@ -3,7 +3,7 @@
gitlab_runner_package_name: 'gitlab-ci-multi-runner'
# Maximum number of jobs to run concurrently
gitlab_runner_concurrent: '{{ ansible_processor_cores }}'
gitlab_runner_concurrent: '{{ ansible_processor_vcpus }}'
# GitLab coordinator URL
gitlab_runner_coordinator_url: 'https://gitlab.com/ci'
......@@ -30,4 +30,4 @@ gitlab_runner_ssh_password: ''
# Runner SSH identity file
gitlab_runner_ssh_identity_file: ''
# Runner Locked
gitlab_runner_locked: 'false'
\ No newline at end of file
gitlab_runner_locked: 'false'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment