feat: add option droneci_drone_runner_labels
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7ed9d92daa
commit
ec30230a0e
@ -9,6 +9,8 @@ droneci_runner_docker_restart_policy: always
|
||||
droneci_runner_docker_service_stopped: False
|
||||
|
||||
droneci_runner_docker_capacity: 2
|
||||
droneci_drone_runner_labels: []
|
||||
|
||||
droneci_runner_docker_server: droneci
|
||||
droneci_runner_docker_secret: myveryownsecret
|
||||
|
||||
|
@ -21,6 +21,9 @@ services:
|
||||
- DRONE_RPC_HOST={{ droneci_runner_docker_server }}
|
||||
- DRONE_RPC_SECRET={{ droneci_runner_docker_secret }}
|
||||
- DRONE_RUNNER_CAPACITY={{ droneci_runner_docker_capacity }}
|
||||
{% if droneci_drone_runner_labels | default([]) | length > 0 %}
|
||||
- DRONE_RUNNER_LABELS={{ droneci_drone_runner_labels | join(",") }}
|
||||
{% endif %}
|
||||
{% if droneci_runner_docker_memory_limit is defined %}
|
||||
mem_limit: {{ droneci_runner_docker_memory_limit }}
|
||||
{% endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user