2019-06-14 17:30:07 +02:00
|
|
|
{% if drone_server_host is defined %}
|
|
|
|
DRONE_SERVER_HOST={{ drone_server_host }}
|
|
|
|
{% endif %}
|
|
|
|
{% if drone_server_proto is defined %}
|
|
|
|
DRONE_SERVER_PROTO={{ drone_server_proto }}
|
|
|
|
{% endif %}
|
|
|
|
DRONE_TLS_AUTOCERT=false
|
|
|
|
{% if drone_rpc_secret is defined %}
|
|
|
|
DRONE_RPC_SECRET={{ drone_rpc_secret }}
|
|
|
|
{% endif %}
|
2019-06-20 16:17:09 +02:00
|
|
|
{% if drone_database_secret is defined and drone_database_secret != "" %}
|
|
|
|
DRONE_DATABASE_SECRET={{ drone_database_secret }}
|
|
|
|
{% endif %}
|
2019-06-14 17:30:07 +02:00
|
|
|
DRONE_AGENTS_ENABLED=true
|
|
|
|
{% if drone_logs_pretty is defined %}
|
|
|
|
DRONE_LOGS_PRETTY={{ drone_logs_pretty }}
|
|
|
|
{% endif %}
|
|
|
|
{% if drone_logs_color is defined %}
|
|
|
|
DRONE_LOGS_COLOR={{ drone_logs_color }}
|
|
|
|
{% endif %}
|
|
|
|
DRONE_LOGS_DEBUG=true
|
2019-06-15 17:55:37 +02:00
|
|
|
{% if drone_database_driver is defined and drone_database_driver != "sqlite" %}
|
|
|
|
DRONE_DATABASE_DRIVER={{ drone_database_driver }}
|
|
|
|
{% endif %}
|
|
|
|
{% if drone_database_datasource is defined and drone_database_driver != "sqlite" %}
|
|
|
|
DRONE_DATABASE_DATASOURCE={{ drone_database_datasource }}
|
|
|
|
{% endif %}
|
2019-06-16 16:02:01 +02:00
|
|
|
{% if drone_github_client_id != "" and drone_github_client_secret != "" %}
|
2019-06-16 15:33:58 +02:00
|
|
|
DRONE_GITHUB_SERVER=https://github.com
|
|
|
|
DRONE_GITHUB_CLIENT_ID={{ drone_github_client_id }}
|
|
|
|
DRONE_GITHUB_CLIENT_SECRET={{ drone_github_client_secret }}
|
|
|
|
DRONE_GITHUB_DEBUG={{ drone_github_debug }}
|
2019-06-16 16:02:01 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if drone_gitlab_client_id != "" and drone_gitlab_client_secret != "" %}
|
2019-06-16 15:27:47 +02:00
|
|
|
DRONE_GITLAB_SERVER=https://gitlab.com
|
|
|
|
DRONE_GITLAB_CLIENT_ID={{ drone_gitlab_client_id }}
|
|
|
|
DRONE_GITLAB_CLIENT_SECRET={{ drone_gitlab_client_secret }}
|
2019-06-16 15:33:58 +02:00
|
|
|
DRONE_GITLAB_DEBUG={{ drone_github_debug }}
|
2019-06-16 16:02:01 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if drone_gitea_client_id != "" and drone_gitea_client_secret != "" %}
|
2019-06-16 15:27:47 +02:00
|
|
|
DRONE_GITEA_SERVER={{ drone_gitea_server }}
|
|
|
|
DRONE_GITEA_CLIENT_ID={{ drone_gitea_client_id }}
|
|
|
|
DRONE_GITEA_CLIENT_SECRET={{ drone_gitea_client_secret }}
|
|
|
|
DRONE_GITEA_SKIP_VERIFY={{ drone_gitea_skip_verify }}
|
2019-06-16 15:33:58 +02:00
|
|
|
DRONE_GITEA_DEBUG={{ drone_github_debug }}
|
2019-06-16 16:02:01 +02:00
|
|
|
{% endif %}
|