-
Notifications
You must be signed in to change notification settings - Fork 57
Finish Capistrano / get Yale ITS deployment set up #1074
Comments
@orenyk what's left to get Capistrano working? Does it work on e.g. laptops, if I were to |
Ummm... good question. It's set up to use From ITS' side, we're basically going to need to copy all of the Jenkins parameters into a |
I think the localhost/hudson and secrets.yml is something INF can replace with These are all the BMEC vars (available in
The Configuration doc looks pretty thorough. Does it work if one submits dummy values (e.g. |
Ok, things are slowly moving. I've been trying to get this working on a DigitalOcean droplet running CentOS w/ Passenger and Apache (to get close to our setup in ITS) and it's... getting there 😕. Currently, I've got One other thing to note: we've got |
More to do:
|
Ok, better but still stuck. I'm having trouble using the |
Ok, from memory ITS is using Passenger to deal with assets rather than through Rails, so I'm going to look into that now. |
Never mind, I had a relative subdirectory set in the configuration parameters (e.g. |
💥 |
just testing party foul, but I think this is basically ready 😄 |
Got it to work by tweaking the initializer to create errors for |
Note that the current syntax would be |
PR opened, I'm just going to run through it's diff later to see if there's anything I'd like to clean up and then it should be ready for review / kicking up the ladder 😄. |
Resolves #1074 - finalize deploy script setup - finalize custom tasks for deployment - move custom tasks to lib/capistrano/tasks directory - other tweaks / fixes
@dgoerger: any chance you could check this out and let me know if you think we're ready to set up a meeting w/ ITS? Thanks! |
... still waiting on ITS to start testing... |
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) - other tweaks / fixes
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) - other tweaks / fixes
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) - other tweaks / fixes
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 - other tweaks / fixes
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 - other tweaks / fixes
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
I will be writing / updating our documentation shortly to include the use of Capistrano for deployment. |
Just realized that the whenever crontab update might not be running, might need an immediate patch to v5.3.0 😛. Just testing now, DigitalOcean is awesome! |
Whoops, I'm an idiot, I have it set to only call |
On second thought, some of our cron tasks are not e-mail related, so we probably want them running on all environments. I'll open an issue for further investigation. |
I know that this isn't really a general application issue, but we need to get the ITS deployment procedure aligned with the changes implemented in #683. We can use this to finalize the implementation of Capistrano so that we hopefully have a well-documented example of how one might deploy an instance of Reservations.
2015-02-15
Here are some things that need to be done.
deploy.rb
copy over thesecrets.yml.example
fileThe text was updated successfully, but these errors were encountered: