fix: replace hardcoded rpc proto
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2021-12-07 22:20:21 +01:00
parent ec30230a0e
commit e6e7df77d3
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 6 additions and 5 deletions

View File

@ -11,8 +11,9 @@ 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
droneci_runner_docker_server_proto: http
droneci_runner_docker_server_host: droneci
droneci_runner_docker_server_secret: myveryownsecret
# @var droneci_runner_docker_memory_limit:example: $ "512m"
# @var droneci_runner_docker_memory_limit: $ "_unset_"

View File

@ -17,9 +17,9 @@ services:
{% endif %}
privileged: true
environment:
- DRONE_RPC_PROTO=http
- DRONE_RPC_HOST={{ droneci_runner_docker_server }}
- DRONE_RPC_SECRET={{ droneci_runner_docker_secret }}
- DRONE_RPC_PROTO={{ droneci_runner_docker_server_proto }}
- DRONE_RPC_HOST={{ droneci_runner_docker_server_host }}
- DRONE_RPC_SECRET={{ droneci_runner_docker_server_secret }}
- DRONE_RUNNER_CAPACITY={{ droneci_runner_docker_capacity }}
{% if droneci_drone_runner_labels | default([]) | length > 0 %}
- DRONE_RUNNER_LABELS={{ droneci_drone_runner_labels | join(",") }}