Home / Companies / Rollbar / Blog / August 2012

August 2012 Summaries

1 posts from Rollbar

Filter
Month: Year:
Post Summaries Back to Blog
The text discusses the implementation and improvement of a deployment script using Fabric, a Python-based tool for writing deployment and sysadmin scripts, as an alternative to Bash. The initial script was designed to ensure deployment tasks were executed as the user "deploy," update code on each web server, restart services, and record the deployment with Rollbar. However, it executed some processes redundantly for each host, which could affect deployment history as more servers were added. To optimize this, the author utilized Fabric's "roles" feature to map hosts to roles and decorate tasks, ensuring tasks are executed efficiently and recorded appropriately, demonstrating a more streamlined deployment process with a single execution of checks and post-deployment tasks.
Aug 16, 2012 1,110 words in the original blog post.