Introduction

Laurent and I both work at a company called Electric Cloud. One of our products is called ElectricFlow Deploy and can perform application deployments.

Day to day Laurent and I use Citrix products heavily, so when we saw this hackathon we were excited to learn a few more APIs. At work one of our software distribution mechanisms is via ShareFile and it has served us well. We automated publishing files to ShareFile for customer consumption a while ago. But we wondered, how hard would it be write an integration that gave a generic way to publish files to ShareFile?

Use Case

There were many use cases where ShareFile can help. In this hackathon entry, we'll focus on the application deployment use case as shown in this flow chart:flowchart

Why

When application deployments go wrong you would like to:

  1. Notify stakeholders
  2. Track and communicate progress
  3. Aggregate and share log files to cross functional teams in order to triage deployment failure
  4. Take follow on steps to fix the failure and prevent it from happening again.

If done manually, proper skill and care is needed to find and share log files. Worse, the person collecting the log files may be under stress due to the business impact of the deployment failure.

Our Entry

We used ZenDesk for items 1 and 2 and ShareFile for item 3. ElectricFlow performed the deployment and served as the orchestration engine.

Our ShareFile integration takes the following parameters: ShareFile procedure picture

The application deployment looks like this

On error we:

  1. Gather appropriate log files and zip them
  2. Upload zip file to ShareFile
  3. Create a zendesk ticket and comment with the ShareFile URL

In ZenDesk you can see the ticket as follows: Zendesk

Advantages

Having an automated way to collect, aggregate, share and track log files makes application deployments slightly less stressful.

ShareFile is great service to hold these log files and tie them to an incident. Not only can these files be used during the deployment failure but also during retrospectives and for future training.

Conclusion

Laurent and I had a ton of fun during the hackathon and we thank the organizers.

We have open sourced our EC-ShareFile integration and EC-Zendesk integration

Built With

Share this project:

Updates