Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save bhcopeland/830a8f6f5ec32877a7d8c6e5e5193daa to your computer and use it in GitHub Desktop.

Select an option

Save bhcopeland/830a8f6f5ec32877a7d8c6e5e5193daa 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..c9f4bc0e 100644
--- a/files/gitlab/gitlab-runner-manager.lkft.org.toml
+++ b/files/gitlab/gitlab-runner-manager.lkft.org.toml
@@ -1,4 +1,4 @@
-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
[session_server]
@@ -10,7 +10,7 @@ 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
[runners.cache]
Type = "s3"
Shared = true
@@ -36,7 +36,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