drone-plugins / drone-s3

Drone plugin for publishing artifacts to Amazon S3
http://plugins.drone.io/drone-plugins/drone-s3
Apache License 2.0
36 stars 64 forks source link

Support custom endpoint urls #9

Closed alexanderjulo closed 8 years ago

alexanderjulo commented 8 years ago

awscli supports the --endpoint-url option which let's a user specify a custom endpoint. If we add the URL to this plugin, users could use this plugin to deploy assets to any S3 compatibles API, i.e. riak, swiftstack, ceph, skylable, minio or similar projects. As it would only be one more optional config option, I think the actual work should be limited.

I'd try it myself but I have never done anything in go and will probably break something.

csachs commented 8 years ago

I've quickly hacked together something for this, see pr #14

bradrydzewski commented 8 years ago

thanks, these changes were included in the 0.5 upgrade. We ended up switching to use the native Go code instead of the command line utility which is why the PR wasn't merged, but still appreciated!