feat(server): add stash setting

This commit is contained in:
Bo-Yi Wu 2019-07-27 09:22:07 +08:00
parent 91fe66899f
commit d534fad2bf

View File

@ -68,6 +68,14 @@ DRONE_BITBUCKET_CLIENT_SECRET={{ drone_bitbucket_client_secret }}
DRONE_BITBUCKET_SKIP_VERIFY={{ drone_bitbucket_skip_verify }} DRONE_BITBUCKET_SKIP_VERIFY={{ drone_bitbucket_skip_verify }}
DRONE_BITBUCKET_DEBUG={{ drone_bitbucket_debug }} DRONE_BITBUCKET_DEBUG={{ drone_bitbucket_debug }}
{% endif %} {% endif %}
{% if drone_stash_server != "" %}
DRONE_STASH_SERVER={{ drone_stash_server }}
DRONE_STASH_CONSUMER_KEY={{ drone_stash_consumer_key }}
DRONE_STASH_CONSUMER_SECRET={{ drone_stash_consumer_secret }}
DRONE_STASH_PRIVATE_KEY={{ drone_stash_private_key }}
DRONE_STASH_SKIP_VERIFY={{ drone_stash_skip_verify }}
DRONE_STASH_DEBUG={{ drone_stash_debug }}
{% endif %}
{% if aws_access_key_id != "" and aws_secret_access_key != "" %} {% if aws_access_key_id != "" and aws_secret_access_key != "" %}
AWS_ACCESS_KEY_ID={{ aws_access_key_id }} AWS_ACCESS_KEY_ID={{ aws_access_key_id }}
AWS_SECRET_ACCESS_KEY={{ aws_secret_access_key }} AWS_SECRET_ACCESS_KEY={{ aws_secret_access_key }}