Re:Poll: How often do you deploy to production?
by StavrosK on Thursday June 27, 2013 @06:57AM
(#5951618)
No, don't look at fabric! Fabric is good for some stuff, but deployments should be repeatable, automated and idempotent. Look at ansible.cc instead.
Don't use fabric for deployment (even though it's a fantastic tool for many use cases).
Re:Poll: How often do you deploy to production?
by mbeattie on Thursday June 27, 2013 @08:45AM
(#5951986)
I don't understand... how is that a knock on fabric? I have software built into packages and then config templates and some key/value stuff to substitute in. My fabric scripts log in, install a package, put the generated config files, and then restart the server. I can run this over and over again (repeatable) with one command (automated) and it always ends up at the same current version (idempotent).
I wrote a quick fabfile yesterday that automatically commits/merges my local changes, pushes to a private GitHub repo, then SSHs into my production server, pulls down the latest code and restarts the web server. Gives me feedback along the way too.