Add Kubernetes runner configuration
Custom values for the gitlab-runner Helm chart. See https://wiki.qemu.org/Testing/CI/KubernetesRunners. Signed-off-by: Camilla Conte <cconte@redhat.com> Message-Id: <20230522174153.46801-6-cconte@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
037a171a2f
commit
8acf865084
30
scripts/ci/gitlab-kubernetes-runners/values.yaml
Normal file
30
scripts/ci/gitlab-kubernetes-runners/values.yaml
Normal file
@ -0,0 +1,30 @@
|
||||
gitlabUrl: "https://gitlab.com/"
|
||||
runnerRegistrationToken: ""
|
||||
rbac:
|
||||
create: true
|
||||
concurrent: 200
|
||||
runners:
|
||||
privileged: true
|
||||
config: |
|
||||
[[runners]]
|
||||
limit = 100
|
||||
environment = [
|
||||
"DOCKER_HOST=tcp://docker:2376",
|
||||
"DOCKER_TLS_CERTDIR=/certs",
|
||||
"DOCKER_TLS_VERIFY=1",
|
||||
"DOCKER_CERT_PATH=/certs/client"
|
||||
]
|
||||
[runners.kubernetes]
|
||||
poll_timeout = 1200
|
||||
image = "ubuntu:20.04"
|
||||
cpu_request = "0.5"
|
||||
service_cpu_request = "0.5"
|
||||
helper_cpu_request = "0.25"
|
||||
cpu_request_overwrite_max_allowed = "7"
|
||||
memory_request_overwrite_max_allowed = "30Gi"
|
||||
[[runners.kubernetes.volumes.empty_dir]]
|
||||
name = "docker-certs"
|
||||
mount_path = "/certs/client"
|
||||
medium = "Memory"
|
||||
[runners.kubernetes.node_selector]
|
||||
agentpool = "jobs"
|
Loading…
Reference in New Issue
Block a user