Avner Rosenan

Cloud Empowered ALM with TFS 2012 and CloudShare TeamLabs

June 5th, 2013 | Author: | Filed under: CloudShare, Dev / Test | Tags: , , , , , , , , , , ,

CloudShare TeamLabs allows you to easily and seamlessly extend your development and QA labs to the Cloud, providing you with the labs you need, when you need, with the click of a mouse.  Now, you can easily deploy your products on your CloudShare environments automatically using Microsoft Team Foundations Server (TFS – Microsoft’s ALM platform).

CloudShare TFS Plugin

CloudShare provides a TFS build activity that enables deployment to CloudShare environments. The steps below describe the deployment process while using the build activity.

  1. Creating a new environment from a blueprint’s specific snapshot.
  2. Zipping your product output & uploading it to the environment cloud folders.
  3. Mounting your new environment to the cloud folders.
  4. Running your deployment scripts
  5. Taking a snapshot of your new deployed environment
  6. (optional) Deleting your environment, since you can recreate it again from the snapshot just created.

The CloudShare integration module to TFS includes:

  1. Readme.docx – describes how to install and use it.
  2. CloudShare.BuildActivities.dll – contains the build activity extension for your build.
  3. CloudShare.Template.11.xaml – extension of the default template provided by Microsoft to include CloudShare build steps.
  4. CSAPI.dll – CloudShare’s native .Net API.
  5. Installer –installation tool for the build schema and activity.

The dialog below shows the build’s custom dialog for CloudShare deploy. The first dialog’s tab contains all your CloudShare account information:

CloudShare TFS Dialog Box 1

At the second tab dialog you can invoke your own deploy scripts:

CloudShare TFS Dialog Box 2

You can download the TFS Plugin for CloudShare at http://go.cloudshare.com/TFSPlugin_Main.html?camp=TFS&term=Download&source=Blog&medium=Web.  Disclaimer- this solution is designated for TFS 2012.

About the author:
Avner is a co-founder at CloudShare, and its Chief Technology Officer. His previous responsibilities included heading up CloudShare's R&D, as well as running the company’s infrastructure and SaaS operations. Before CloudShare, Avner served as a research team leader at Safend where he led their security design, new innovations, intellectual property, technical article authoring and IT. Avner previously served as a team leader in an elite IDF unit where he conducted research on artificial neural networks for speech recognition and implemented large-scale operational systems.