-
Notifications
You must be signed in to change notification settings - Fork 2
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 initial support for S3 active storage #77
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @markgoddard - this is great, very many thanks! I've added a few review observations, please - I can plug in the changes, if you don't have time to do them. But one thing we need is a few test cases - am not very familiar with using the S3 interface for CI testing, so I might need your help there. If you could post one or two example tests then I can probably expand on those 👍 🍺
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review.
We should be able to use the existing test cases, with |
In activestorage/config.py: * Set USE_S3 = True * Set S3_* to appropriate values for your setup
great! Cheers, let me do that then - plug a few tests here, then I'll merge 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
very many thanks @markgoddard - I'll plug in a couple tests based on your examples, then merge. Next step will be to update #47 to hold the S3 configuration in a yaml file rather than a Py module, and will ping you there for a review, if that's OK with you. Also, if that's OK with you, I'll add you as a contributor to this repo (make things easy for GitHub communications) 🍺
Perfect, thanks |
just merged this, so I don't have to faff around with your fork - gonna open a PR now to plug in some tests. Now that you are a contributor here, you can just open vanilla PRs w/o having to go through forks, @markgoddard - and many thanks again for your contributions 🍺 |
In activestorage/config.py: