feat(storage): aws s3 storage

master
Bo-Yi Wu 2019-06-20 22:19:57 +08:00
parent e42fbe73f4
commit 2b3f717efd
2 changed files with 12 additions and 0 deletions

View File

@ -41,3 +41,8 @@ drone_mysql_data_dir: "/var/lib/mysql/data"
drone_mysql_password: "drone"
drone_mysql_user: "drone"
drone_mysql_db: "drone"
# S3 Storage
aws_default_region: "us-east-1"
aws_region: "us-east-1"
drone_s3_bucket: ""

View File

@ -44,3 +44,10 @@ DRONE_GITEA_CLIENT_SECRET={{ drone_gitea_client_secret }}
DRONE_GITEA_SKIP_VERIFY={{ drone_gitea_skip_verify }}
DRONE_GITEA_DEBUG={{ drone_github_debug }}
{% endif %}
{% if aws_access_key_id != "" and aws_secret_access_key != "" %}
aws_access_key_id={{ aws_access_key_id }}
aws_secret_access_key={{ aws_secret_access_key }}
aws_default_region={{ aws_default_region }}
aws_region={{ aws_region }}
drone_s3_bucket={{ drone_s3_bucket }}
{% endif %}