Medium scale System Administration, change management and rollback with Capistrano

32 views
Skip to first unread message

Axel Christiansen

unread,
Mar 17, 2015, 10:10:06 AM3/17/15
to capis...@googlegroups.com
Hello Group.




Currently i am in the progress of evaluating the suitability of using Capistrano for building Debian packages. Generally Capistrano is sure an interesting tool for System Administration. We already came to that assessment. Years ago i already made some experiences using Capistrano for deploying PHP-Web-Apps.

Beside, we have the need for a change management (know what was done when and where) and a roll back mechanism. We already use individualised Debian packaging for some deploys in our System Administration.

In short:
Configuring, templating building configs for any part of a System using
Capistrano.
Building Debian packages with Capistrano, archiving them and whatever is needed.
Using Capistrano deploying packages on targets.
Using Capistrano for rollbacks (deploying former version of a package)
 


Does there possibly already exist components for Capistrano helping one with automatic Debian packaging?


Any idea tips and experiences are desired and most welcome.

All the best. Axel



Lee Hambley

unread,
Mar 17, 2015, 10:16:48 AM3/17/15
to Capistrano
Hi Axel,

Actually you might better enjoy https://github.com/capistrano/sshkit - for explicitly managing stuff that isn't "deploy a web app from a git repo", we separated out the "ssh remote driver" if you could name it that way into it's own package and you'll find a tonne of examples there.

Further, you can if you need just the "bones" of a deployment, without too much of the "checkout from git, copy this, symlink that", etc just import the "flow" http://capistranorb.com/documentation/getting-started/flow/ and you get all the hooks, but with none of the default tasks hung from them.

In the case of your "rollback" to an older package, I'd rather avoid calling that a "rollback" as that has a really specific meaning to Capistrano, which is to symlink the current-1 release timestamp directory to current.

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/c0577a5c-7de9-4ed3-b36c-bad922d00aa6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages