If you work in scale, If you manage multiple applications in multiple environments, If you automate any tasks using Capistrano then try a handy solutions which will improve and extend your workbench.

Real-life scenario

There are many automated tasks in everyday work. It is crucial to distribute the management of those tasks between not only DevOps anymore. The idea was to distribute small tasks on the Dev teams as well. One of the most important task is the deployment process of new app release in multiple environments. It requires a very high level of permissions and orchestration of many actions by experienced DevOps. As we use Pulsar which is built on top of Capistrano we decided to extend that tool with REST interface. It allows us to talk easily over HTTP to our tasks. We do it via Hubot. This simple piece of software lets us to integrate HipChat (our communication channel) with simple BOT. It listens for our commands and trigger actions over pulsar-rest-api into pulsar itself.

Example of “app deployment” via HipChat using Hubot

Hipchat Deployment

On the pulsar-rest-api interface it looks like on screenshot

Pulsar-Rest-Api Dashboard

In more details the workflow looks like follows

Pulsar-Hipchat Workflow

License

This project has been funded by cargomedia as open-source.

Where to go from here

Please go to GitHub repositories to find out why should you start using it now!

If you enjoy to use the PULSAR-REST-API or you need any help or advises, please let us know!

(this blogpost is crossposting of kris-lab blog)