mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.36k stars 491 forks source link

Deploy without using current/shared/releases? #613

Closed bronson closed 6 years ago

bronson commented 6 years ago

Would it be easy to deploy to a single git-managed directory? I don't have any need for the current, shared, releases infrastructure... In fact, it's kind of getting in the way.

Can I have Mina just deploy one directory on the server every time. The few times I need to roll back a botched deploy, I'd rather just use git.

It looks like it would take some pretty fundamental changes to Mina to make this happen... But, I really like Mina, so if it's possible to do this simpler sort of deploy, please give me some guidance! I'm happy to experiment.

bronson commented 6 years ago

AH, I see why the directories are needed. It's so you don't git checkout new code underneath a running app.

I've been doing that for a year now with no issues. But... maybe that's not ideal.

bronson commented 6 years ago

It would be nice if I could deploy with git chcekout, and use a zfs snapshot to ensure the running app never sees any changes.

But that sounds like a pretty different product than Mina. Therefore, closing.