Last active
February 25, 2021 12:30
-
-
Save bhcopeland/0316f03e7ffd77028bd9d8152d3f014c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
concurrent = 600 | |
check_interval = 0 | |
[session_server] | |
session_timeout = 1800 | |
[[runners]] | |
name = "{{ inventory_hostname }}" | |
url = "{{ gitlab_runner_url }}" | |
{{ grep_token.stdout }} | |
executor = "{{ gitlab_executor }}" | |
output_limit = 10000 | |
limit = 30 # This runner can execute up to xx jobs (created machines) | |
[runners.cache] | |
Type = "s3" | |
Shared = true | |
[runners.cache.s3] | |
ServerAddress = "s3.amazonaws.com" | |
BucketName = "lkft-runner-cache" | |
BucketLocation = "us-east-1" | |
[runners.docker] | |
tls_verify = false | |
image = "alpine:latest" | |
privileged = true | |
cap_add = ["SYS_PTRACE"] | |
security_opt = ["seccomp:unconfined"] | |
disable_entrypoint_overwrite = false | |
oom_kill_disable = false | |
disable_cache = true | |
shm_size = 0 | |
[runners.docker.sysctls] | |
"net.ipv6.conf.lo.disable_ipv6" = "0" | |
[runners.machine] | |
IdleCount = 0 | |
IdleTime = 600 | |
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) | |
MachineDriver = "amazonec2" | |
MachineName = "gitlab-docker-machine-%s" | |
MachineOptions = [ | |
"amazonec2-region=us-east-1", | |
"amazonec2-vpc-id=vpc-0088d6761c7eeb5ef", | |
"amazonec2-subnet-id=subnet-0e76da657a939857f", | |
"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=m5.large", | |
"amazonec2-root-size=10", | |
] | |
[[runners]] | |
name = "{{ inventory_hostname }}-large-builders" | |
url = "{{ gitlab_runner_url }}" | |
{{ grep_token.stdout }} | |
executor = "{{ gitlab_executor }}" | |
output_limit = 10000 | |
limit = 2 # This runner can execute up to xx jobs (created machines) | |
[runners.cache] | |
Type = "s3" | |
Shared = true | |
[runners.cache.s3] | |
ServerAddress = "s3.amazonaws.com" | |
BucketName = "lkft-runner-cache" | |
BucketLocation = "us-east-1" | |
[runners.docker] | |
tls_verify = false | |
image = "alpine:latest" | |
privileged = true | |
cap_add = ["SYS_PTRACE"] | |
security_opt = ["seccomp:unconfined"] | |
disable_entrypoint_overwrite = false | |
oom_kill_disable = false | |
disable_cache = true | |
shm_size = 0 | |
[runners.docker.sysctls] | |
"net.ipv6.conf.lo.disable_ipv6" = "0" | |
[runners.machine] | |
IdleCount = 0 | |
IdleTime = 600 | |
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) | |
MachineDriver = "amazonec2" | |
MachineName = "gitlab-docker-machine-%s" | |
MachineOptions = [ | |
"amazonec2-region=us-east-1", | |
"amazonec2-vpc-id=vpc-0088d6761c7eeb5ef", | |
"amazonec2-subnet-id=subnet-0e76da657a939857f", | |
"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=m5.xlarge", | |
"amazonec2-root-size=100", | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment