ansible_drone/templates/drone-agent.env.j2
Bo-Yi Wu 8a5521cd0f update agent information
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-06-25 17:09:19 +08:00

48 lines
1.6 KiB
Django/Jinja

{% if drone_rpc_server is defined %}
DRONE_RPC_SERVER={{ drone_rpc_server }}
{% endif %}
{% if drone_rpc_secret is defined %}
DRONE_RPC_SECRET={{ drone_rpc_secret }}
{% endif %}
{% if drone_runner_capacity is defined %}
DRONE_RUNNER_CAPACITY={{ drone_runner_capacity }}
{% endif %}
DRONE_LOGS_DEBUG=true
{% if drone_runner_name is defined %}
DRONE_RUNNER_NAME={{ drone_runner_name }}
{% endif %}
{% if drone_docker_config is defined %}
DRONE_DOCKER_CONFIG={{ drone_docker_config }}
{% endif %}
{% if drone_secret_endpoint is defined %}
DRONE_SECRET_ENDPOINT={{ drone_secret_endpoint }}
DRONE_SECRET_SECRET={{ drone_secret_secret }}
DRONE_SECRET_SKIP_VERIFY={{ drone_secret_skip_verify }}
{% endif %}
{% if drone_registry_endpoint is defined %}
DRONE_REGISTRY_ENDPOINT={{ drone_registry_endpoint }}
DRONE_REGISTRY_SECRET={{ drone_registry_secret }}
DRONE_REGISTRY_SKIP_VERIFY={{ drone_registry_skip_verify }}
{% endif %}
{% if drone_runner_volumes is defined %}
DRONE_RUNNER_VOLUMES={{ drone_runner_volumes }}
{% endif %}
{% if drone_runner_os is defined %}
DRONE_RUNNER_OS={{ drone_runner_os }}
{% endif %}
{% if drone_runner_arch is defined %}
DRONE_RUNNER_ARCH={{ drone_runner_arch }}
{% endif %}
{% if drone_runner_kernel is defined %}
DRONE_RUNNER_KERNEL={{ drone_runner_kernel }}
{% endif %}
{% if drone_runner_variant is defined %}
DRONE_RUNNER_VARIANT={{ drone_runner_variant }}
{% endif %}
{% if drone_runner_name is defined %}
DRONE_RUNNER_NAME={{ drone_runner_name }}
{% endif %}
{% if drone_runner_labels is defined %}
DRONE_RUNNER_LABELS={{ drone_runner_labels }}
{% endif %}