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

Update Paperclip to v5 #2589

Merged
merged 2 commits into from
Apr 16, 2018
Merged

Update Paperclip to v5 #2589

merged 2 commits into from
Apr 16, 2018

Conversation

jywarren
Copy link
Member

@jywarren jywarren commented Apr 6, 2018

Will need Gemfile.lock too!

@PublicLabBot
Copy link

PublicLabBot commented Apr 6, 2018

2 Messages
📖 @jywarren Thank you for your pull request! I’m here to help with some tips and recommendations. Please take a look at the list provided and help us review and accept your contribution! And don’t be discouraged if you see errors – we’re here to help.
📖 This pull request doesn’t link to a issue number. Please refer to the issue it fixes (if any) in the body of your PR, in the format: Fixes #123.

Generated by 🚫 Danger

@jywarren
Copy link
Member Author

jywarren commented Apr 6, 2018

I'm testing this out at https://unstable.publiclab.org!

@jywarren
Copy link
Member Author

jywarren commented Apr 7, 2018

Hmm, @icarito No rush but it seems unstable is not booting?

@icarito
Copy link
Member

icarito commented Apr 8, 2018

Hey Jeff, just looked at this, I had messed with docker-compose-unstable.yml when working on #2495.
I updated the yml file, please confirm and I can deploy from master into staging and production.

I'll make a pr to include dockerfiles for different instances, it would be a pain to update this stuff in many places.

@jywarren
Copy link
Member Author

jywarren commented Apr 8, 2018

Ok! Where are the changes I have to look at? Thanks!!!

@icarito
Copy link
Member

icarito commented Apr 8, 2018 via email

@jywarren
Copy link
Member Author

jywarren commented Apr 8, 2018

This change has not been put into master. This is just the Paperclip upgrade, not the Rails 4.2 upgrade -- the latter has been put into master, and is ready for deployment.

The mail configuration has been merged to master, and is ready for deployment and email testing, and is unrelated to either the Rails 4.2 upgrade or this Paperclip change (paperclip is just image uploading).

Here, I was trying to push this attempt at Paperclip image/file upload to unstable before merging it -- it's lower priority!

Thanks!

@jywarren
Copy link
Member Author

jywarren commented Apr 8, 2018

So, you should be able to deploy everything in master to stable, then to production (email configs haven't been moved to stable yet because I wasn't sure if you'd finished with the stable email config)

@jywarren
Copy link
Member Author

jywarren commented Apr 8, 2018

^ edited above to say "everything in master to stable" instead of just "everything"

@icarito
Copy link
Member

icarito commented Apr 8, 2018 via email

@icarito
Copy link
Member

icarito commented Apr 9, 2018

Jeff, I deployed to production and to stable.
I did a bit of a trick, adding appropriate IP address for SMTP service to /etc/hosts file (by default plots looks for smtp hostname).

@jywarren
Copy link
Member Author

jywarren commented Apr 9, 2018 via email

@jywarren
Copy link
Member Author

Hmm, @icarito it looks like this took Unstable offline; https://unstable.publiclab.org/ is it related?

I just want to test this out before merging to master, since it affects image upload. Thanks!

@jywarren
Copy link
Member Author

Actually it looks more subtle -- see https://jenkins.laboratoriopublico.org/job/Plots-Unstable/74/console

I wasn't able to push this to unstable, it seems, at all?

@icarito
Copy link
Member

icarito commented Apr 16, 2018 via email

@icarito
Copy link
Member

icarito commented Apr 16, 2018 via email

@jywarren
Copy link
Member Author

Oh super - tested and this works -- merging now!

@jywarren jywarren merged commit 34e78b8 into master Apr 16, 2018
@jywarren
Copy link
Member Author

And our warning is gone! Super work, thanks!!!

SrinandanPai pushed a commit to SrinandanPai/plots2 that referenced this pull request May 5, 2019
* Update Gemfile

* updated Gemfile.lock
@emilyashley emilyashley deleted the paperclip-5 branch January 15, 2020 21:43
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

3 participants