-
Notifications
You must be signed in to change notification settings - Fork 52
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
deploy to a different dir to fix hot upgrades #13
base: master
Are you sure you want to change the base?
deploy to a different dir to fix hot upgrades #13
Conversation
@manukall Thank you. I'll make some more changes tomorrow and merge these. |
@HashNuke any news on this? i also have a PR that enables gzip compression, but i realized that my branch for that also includes the changes here... |
@manukall I have some changes too. I'll merge this in and make my changes tomorrow. |
@HashNuke thanks! i noticed that the order of the steps in the "restart" branch could be changed to not have that much downtime now. maybe that would be a nice improvement. |
@manukall sure. That would be very helpful. I'll work on this PR and then you can brach out from latest master to work on that so that there are no conflicts. |
@manukall I've been working on the Right now using, $HOME/srv/{{ app_name }} for deployer user to serve apps (so when someone logs in as deployer they see the whole structure when they just |
cool. thanks again! |
@manukall Oh makes sense. I forgot to ask you about that. I'm sure there are others that output stuff too. I'll revert to the RELEASE_VERSION hack. |
@manukall reverted to your hack for app version. If you happen to make a deploy with the |
@HashNuke Has this been resolved? |
@rubytree Not yet. I'll do it this weekend for sure. |
this still uses
/srv/apps
as directory for the running app.mostly because i already started when i saw your comment. i've seen this pattern often before though and the directory is owned by the deployer user.upgrading the role requires manually stopping your app once, though. (stop app, run ansible setup). after that, everything work's automatically again.