Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
spotlesstofu authored and rth7680 committed May 22, 2023
1 parent d566475 commit c549823
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions scripts/ci/gitlab-kubernetes-runners/values.yaml
@@ -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"

0 comments on commit c549823

Please sign in to comment.