Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bhcopeland/31103286f4b3e141c6551429eaafa2dc to your computer and use it in GitHub Desktop.
Save bhcopeland/31103286f4b3e141c6551429eaafa2dc to your computer and use it in GitHub Desktop.
diff --git a/files/gitlab/gitlab-runner-manager.lkft.org.toml b/files/gitlab/gitlab-runner-manager.lkft.org.toml
index 8c09041d..d80e01ac 100644
--- a/files/gitlab/gitlab-runner-manager.lkft.org.toml
+++ b/files/gitlab/gitlab-runner-manager.lkft.org.toml
@@ -1,5 +1,6 @@
-concurrent = 600
+concurrent = 600 # limits how many jobs globally can be run concurrently. The most upper limit of jobs using all defined runners. 0 does not mean unlimited
check_interval = 0
+listen_address = "localhost:9252" # monitoring
[session_server]
session_timeout = 1800
@@ -10,7 +11,8 @@ check_interval = 0
{{ grep_token.stdout }}
executor = "{{ gitlab_executor }}"
output_limit = 10000
- limit = 30 # This runner can execute up to xx jobs (created machines)
+ limit = 600 # Limit how many jobs can be handled concurrently by this token. 0 (default) simply means don’t limit
+ request_concurrency = 30 # Limit number of concurrent requests for new jobs from GitLab (default 1)
[runners.cache]
Type = "s3"
Shared = true
@@ -36,7 +38,7 @@ check_interval = 0
OffPeakTimezone = "Europe/London"
OffPeakIdleCount = 0
OffPeakIdleTime = 600
- MaxBuilds = 20 # Each machine can handle up to xx jobs in a row (after this it will be removed)
+ MaxBuilds = 100 # Builds count after which machine will be removed.
MachineDriver = "amazonec2"
MachineName = "gitlab-docker-machine-%s"
MachineOptions = [
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment