-
Notifications
You must be signed in to change notification settings - Fork 57
Conversation
82646e3
to
2bcddd6
Compare
Ok, squashed and ready for review! |
gem 'capistrano-bundler', '~> 1.1.4' | ||
gem 'capistrano-rails', '~> 1.1.2' | ||
gem 'capistrano-rvm', '~> 0.1.2' | ||
gem 'capistrano', '~> 3.3.5', require: false |
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.
🔥 Extra space here
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.
Good catch.
8958ef8
to
1576ee0
Compare
Just updated |
1576ee0
to
6602cc7
Compare
We've dealt with a bunch of issues on the ITS side but have finally run into an interesting bug. Since we're updating very old databases there are a bunch of migrations to run, including the Two issues:
Ideally, I wish there were a way to "reload" Rails after running a table rename migration so that all models and associations were up-to-date, but this is also a kludge-y fix for bad code 😞. Take-home number 1 is that we shouldn't rely on Rails models in our migrations anymore. Luckily, this migration calls |
6602cc7
to
9f4620a
Compare
Also, for posterity, we ran into #1282 and I forgot that I had already fixed it so there was temporarily a duplicate fix in this branch. I rebased onto |
9f4620a
to
6649569
Compare
Woo hoo, it is fixed! Man, going back to the v3.4.x codebase makes me really appreciate all the work we've done, particularly with |
We've been asked to add an environment variable to disable ALL e-mails for DEV deployments; I'm adding this and using it to optionally set EDIT Done and updated the wiki! |
Resolves #1074 - finalize deploy script setup - finalize custom tasks for deployment - move custom tasks to lib/capistrano/tasks directory - update dotenv to 2.0.2; remove dotenv-deployment (deprecated) - fix broken migration by bypassing Reservation validations - add environment variable to disable all e-mails (DISABLE_EMAILS) - other tweaks / fixes
6649569
to
6998943
Compare
At this point they've got Capistrano deployment working and just have to build the Jenkins wrappers around it, can someone re-review this code so we can merge it into |
Ok, @esoterik looked this over and gave it the green light, I'm going to merge it (finally)! |
Resolves #1074, finishes setting up Capistrano for deployment.