ansible_drone/templates/drone-agent.env.j2

48 lines
1.6 KiB
Plaintext
Raw Normal View History

2019-06-14 17:30:07 +02:00
{% 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
2019-06-20 16:22:40 +02:00
{% if drone_runner_name is defined %}
DRONE_RUNNER_NAME={{ drone_runner_name }}
{% endif %}
2019-06-22 01:32:11 +02:00
{% if drone_docker_config is defined %}
DRONE_DOCKER_CONFIG={{ drone_docker_config }}
2019-06-22 02:27:41 +02:00
{% 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 %}