Closed mcritchlow closed 5 years ago
I modified x.damsolrizier.sh in all environments (qa, staging, production) to use environment variables. It doesn't work in qa because RAILS_ENV for conan isn't set.
@rstanonik - Oh, sorry I missed this comment before making my last commit. So, should I vendor the main damsolrizer script, but leave x.damsolrizer.sh
out of it and assume it'll always be in the same place? We can definitely go that route if you'd prefer.
@rstanonik - one thing we could probably do is add a new environment variable for damspas in our environment variables repo that sets the proper host
that the script needs. Then we could vendor it and know it would already be setup. Thoughts?
After speaking with @rstanonik and looking at the env vars repo, it seems @jhriv already solved this problem for us :) updating the PR accordingly :)
👍
:+1:
Fixes issues we're seeing with damspas deploys and NOT restarting damsolrizer.
Example output on a dry run of capistrano w/ this new task added:
Deployment test to QA
Damspas deployed with a running version of
damsolrizer
:Damspas re-deployed w/ this branch:
Note, the PID's change, and damsolrizer is still up and running
Local Checklist
master
branch?What does this PR do?
Adds a capistrano task to restart damsolrizer on deployment.
@ucsdlib/developers - please review