Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add features to the s3 driver #18

Merged
merged 4 commits into from Jan 12, 2015

Conversation

AndreyKostov
Copy link
Contributor

Do not merge yet, as this is blocked on the v4 auth option.

@AndreyKostov AndreyKostov changed the title Add some more flags to the s3 driver Add features to the s3 driver Jan 2, 2015
@stevvooe stevvooe added this to the Registry/Beta milestone Jan 6, 2015
@stevvooe stevvooe added Blocker and removed Blocker labels Jan 6, 2015
The secure flag will be true by default and will change the
s3 endpoint of the region to http instead of https when selected as false.
The main benefits of running with secure being false is that it apparently
has a roughly 33% performance boost (even on pure data transfer, not only
connection setup which is what I would have expected).
v4auth will default to true and if the frankfurt (eu-central-1) region
is selected with v4auth set to false explicitly, the driver will error
out upon initialization.
@AndreyKostov
Copy link
Contributor Author

This addresses #30 #32 #33, although it does document the ability to disable v4 signatures.

@dmp42
Copy link
Contributor

dmp42 commented Jan 7, 2015

Thanks a lot @AndreyKostov !
cc @BrianBland can you do a first review?

shouldEncrypt, err := strconv.ParseBool(encrypt)
if err != nil {
return nil, err
encryptBool := true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

encrypt should default to false like the semantic defined in the README. Also, you should remove this from the list of environment variables required to run the tests.

@AndreyKostov AndreyKostov force-pushed the ng-add-s3driver-features branch 2 times, most recently from 8ed22bb to d63f59a Compare January 7, 2015 21:27
@BrianBland
Copy link
Contributor

@AndreyKostov github seems to be working correctly again, so try re-triggering the circle build.

@BrianBland
Copy link
Contributor

LGTM

@stevvooe
Copy link
Collaborator

LGTM!

stevvooe added a commit that referenced this pull request Jan 12, 2015
@stevvooe stevvooe merged commit df4441d into distribution:master Jan 12, 2015
This was referenced Jan 13, 2015
@stevvooe stevvooe removed this from the Registry/2.0.0-beta milestone Mar 31, 2015
@stevvooe stevvooe modified the milestones: Registry/2.0, Registry/2.0.0-beta Mar 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants