Text · 1420 bytes Raw Blame History
1 # Managed by Ansible. Secrets live in runner.env.
2
3 [server]
4 base_url = "{{ shithub_runner_server_url }}"
5
6 [runner]
7 {% if shithub_runner_labels is string %}
8 labels = {{ shithub_runner_labels.split(",") | map("trim") | list | to_json }}
9 {% else %}
10 labels = {{ shithub_runner_labels | to_json }}
11 {% endif %}
12 capacity = {{ shithub_runner_capacity }}
13 poll_interval = "{{ shithub_runner_poll_interval }}"
14 workspace_root = "{{ shithub_runner_workspace_root }}"
15 workspace_ttl = "{{ shithub_runner_workspace_ttl }}"
16 {% if shithub_runner_network_allowlist is string %}
17 network_allowlist = {{ shithub_runner_network_allowlist.split(",") | map("trim") | list | to_json }}
18 {% else %}
19 network_allowlist = {{ shithub_runner_network_allowlist | to_json }}
20 {% endif %}
21
22 [engine]
23 kind = "{{ shithub_runner_engine }}"
24 default_image = "{{ shithub_runner_default_image }}"
25 network = "{{ shithub_runner_network }}"
26 memory = "{{ shithub_runner_memory }}"
27 cpus = "{{ shithub_runner_cpus }}"
28 seccomp_profile = "{{ shithub_runner_seccomp_profile }}"
29 user = "{{ shithub_runner_container_user }}"
30 pids_limit = {{ shithub_runner_pids_limit }}
31 {% if shithub_runner_dns_servers is string %}
32 dns_servers = {{ shithub_runner_dns_servers.split(",") | map("trim") | list | to_json }}
33 {% else %}
34 dns_servers = {{ shithub_runner_dns_servers | to_json }}
35 {% endif %}
36
37 [log]
38 level = "{{ shithub_runner_log_level }}"
39 format = "{{ shithub_runner_log_format }}"
40