-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Automating deployments to the beta site on update to master #388
Comments
@jglovier Do you have a script you currently run to deploy? Or alternatively documented deployment steps? I went looking through the github repo and I wasn't sure what you're currently using for hosting or deployment of the beta site. |
@ThomasWunderlich it's pretty manual right now. I think @jkleinsc just logs into our host and |
Well that at least confirms you're using a vm then and not docker. It makes the deployment process a bit easier |
@ThomasWunderlich @jglovier yup... right now I do the following:
|
Ideally we'd use something like Heaven so we can deploy via Hubot in Slack. |
I would be interested in helping with this today. A v0.1 could replicate what @jkleinsc does above but via a cron job. That would be very simple to setup. Everything is public so it could be as simple as: cat > /etc/cron.d/update_server <<EOS
[email protected]
0 * * * * root cd /data/hospitalrun-server && git pull origin master && npm install && service hospitalrun restart
EOS A v1.0 could be:
|
OK, after talking to @jglovier and @tangollama, it sounds like a general-purpose solution for deploying instances of hospitalrun-server would be better. For any instance that the HospitalRun team manages, it will be registered with heaven during the provisioning. Then,
|
Note: @parkr is working on this. |
@parkr I started installing |
Hey there, just bumping this to see where it currently stands @jglovier |
@jpeterson88 AFAIK there hasn't been any new progress on this since the last comments. If you're interested in addressing it, that'd be awesome. @parkr anything @jpeterson88 should know from your previous work on this? |
Sweet. Yeah I'd love to take a stab at this. I see there is a discussion of using Heaven, are we set on that? Why not something like Kubernetes + Helm? We could hook into Hubot as well. Any additional info the team has would be much appreciated. Assuming I'll need credentials or whatever to where the site is hosted, who should I reach out to @jglovier ? |
Sorry, clicked close button by mistake. |
I'm open to other solutions, I just proposed Heaven because it's what we used internally at GitHub and I was familiar with it a bit. But I'm not actively working on this issue and not strongly opinionated as to implementation details, so definitely open to other solutions that make sense. 👍
Good question. @jkleinsc or @tangollama would have credentials for those. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@tehkapa it's your duty! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Expected behavior: When we merge pull requests to master, the system should deploy the latest to the beta site.
Actual behavior: We have to manually deploy to the beta site.
We can easily accomplish this with GitHub webhooks.
Some links for reference:
The text was updated successfully, but these errors were encountered: