Skip to content

Instantly share code, notes, and snippets.

@bhcopeland
Created February 25, 2021 12:24
Show Gist options
  • Select an option

  • Save bhcopeland/9785ec60c30bd2d563cfe3eb072652f1 to your computer and use it in GitHub Desktop.

Select an option

Save bhcopeland/9785ec60c30bd2d563cfe3eb072652f1 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 e845d5ee..8c09041d 100644
--- a/files/gitlab/gitlab-runner-manager.lkft.org.toml
+++ b/files/gitlab/gitlab-runner-manager.lkft.org.toml
@@ -1,4 +1,4 @@
-concurrent = 10
+concurrent = 600
check_interval = 0
[session_server]
@@ -10,7 +10,7 @@ check_interval = 0
{{ grep_token.stdout }}
executor = "{{ gitlab_executor }}"
output_limit = 10000
- limit = 500 # This runner can execute up to xx jobs (created machines)
+ limit = 30 # This runner can execute up to xx jobs (created machines)
[runners.cache]
Type = "s3"
Shared = true
@@ -36,7 +36,7 @@ check_interval = 0
OffPeakTimezone = "Europe/London"
OffPeakIdleCount = 0
OffPeakIdleTime = 600
- MaxBuilds = 2 # Each machine can handle up to xx jobs in a row (after this it will be removed)
+ MaxBuilds = 20 # Each machine can handle up to xx jobs in a row (after this it will be removed)
MachineDriver = "amazonec2"
MachineName = "gitlab-docker-machine-%s"
MachineOptions = [
@@ -46,8 +46,6 @@ check_interval = 0
"amazonec2-zone=a",
"amazonec2-use-private-address=true",
"amazonec2-tags=runner-manager-name,gitlab-aws-autoscaler,gitlab,true,gitlab-runner-autoscale,true",
- "amazonec2-instance-type=t2.medium",
+ "amazonec2-instance-type=m5.large",
"amazonec2-root-size=10",
- "amazonec2-request-spot-instance=true",
- "amazonec2-spot-price=0.0300",
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment