19
Tony Perez, Skytap, Cloud Solutions Architect James Waletzky, Crosslake, Partner The Path to Continuous Integration with Team Foundation Server & Skytap

Path to Continuous Integration with MS-TFS and Skytap

Embed Size (px)

DESCRIPTION

Skytap and Crosslake Technologies share our ideas for how to improve software quality and velocity with automated creation and management of on-demand, scalable test environments. We focus on cloud-enabled ALM through the joint use of Microsoft Visual Studio Team Foundation Server and Skytap.

Citation preview

Page 1: Path to Continuous Integration with MS-TFS and Skytap

Tony Perez, Skytap, Cloud Solutions Architect

James Waletzky, Crosslake, Partner

The Path to Continuous Integration with Team Foundation Server & Skytap

Page 2: Path to Continuous Integration with MS-TFS and Skytap

What’s in it for you?

How does Team Foundation Server help me?• Learn how TFS handles build and lab management, and enables CI and automated testing workflows

How do I get started integrating Skytap and TFS?• Learn how to install and configure the Skytap TFS automation pack

How does the build-deploy-test (BDT) workflow work with TFS and Skytap?• We will take a short trip through an end-to-end BDT scenario using Skytap

What kind of help is available for Skytap customers?• Hear some pointers on getting started, sprinkled with a few best practices

Page 3: Path to Continuous Integration with MS-TFS and Skytap

AGENDA

TFS Build-Deploy-Test Overview

Building in TFS

Getting Started with the Skytap TFS Automation Pack

Appendix:Installing, Troubleshooting

Who is Crosslake & what is Skytap?

Page 4: Path to Continuous Integration with MS-TFS and Skytap

Skytap & Crosslake

Page 5: Path to Continuous Integration with MS-TFS and Skytap

Business Impact:

• Enhance product value and quality

• Increase engineering effectiveness

• Reduce time to market

• Implement best practices and tools

• Deliver measurable improvements

Best Practices

Human Performance Improvement

ALMDeployment

Engineering System

Assessment & Improvement Plan

ProcessPeople

Tools

Page 6: Path to Continuous Integration with MS-TFS and Skytap

Skytap at a GlanceOur Company:• Focus on building better software

faster

• 20,000 users

• Founded in 2006

Our Technology:Skytap provides SaaS-based dev/test environments. We remove the inefficiencies and constraints that companies have within their SDLC.

Page 7: Path to Continuous Integration with MS-TFS and Skytap

Build-Deploy-Test & TFS

Page 8: Path to Continuous Integration with MS-TFS and Skytap

• Unit test

• Continuous integration

Develop

• Clean environment (build machine)

• Binaries dropped

Build • Setup/Tear down test environments

• Copy/Install/Configure

Deploy

• Integration test

Test

Would you rather do this manually or automate?

Build-Deploy-Test (BDT)

Page 9: Path to Continuous Integration with MS-TFS and Skytap

TFS BDT Architecture

Microsoft Test Manager

MTM comes with VS Ultimate, VS Premium and VS Test Professional

Page 10: Path to Continuous Integration with MS-TFS and Skytap

Skytap and TFS

Page 11: Path to Continuous Integration with MS-TFS and Skytap

Skytap Cloud Test Environments

• Mult-VM environments with software defined networking

• Spin up test environments on demand and in under a minute

• Create environments only when needed, pay for what you use

• Create golden templates of build & test environments

• Create fresh instances of environments from golden templates

• Create multiple copies of the environment in parallel

• Save failures frozen in time templates for further investigation

• Run application components in Skytap Cloud or on premise

• Connect components together using self-service VPN connections

• Use projects to enable teams to work together

• Use one-click publish URLs to share resource outside your organization

Create Custom Environments

Repeatability

Debugability

Flexibility

Collaboration

Page 12: Path to Continuous Integration with MS-TFS and Skytap

Skytap and TFS Overview

Page 13: Path to Continuous Integration with MS-TFS and Skytap

Prerequisites Team Foundation Server 2012 or 2013• Running on-premise or in Skytap• If on-premise, VPN to Skytap configured

TFS Build components• Build controllers• Build agents (2 or more)

TFS Test components• Test controllers• Test agents

Page 15: Path to Continuous Integration with MS-TFS and Skytap

DEMOSetup the Skytap Test Environment – Part 1Scenario:

Skytap TFS configuration is in place. Set up the test environment via TFS Lab Management where the bits will be deployed and automated tests executed.

Process:

1. Overview of Skytap environment (including plug-in configuration)

2. Instantiate a Skytap configuration that contains the test environment (VMs)

3. Ensure the network settings are set to be visible to other networks

4. Save the test configuration as a template

5. Connect the test configuration to the TFS configuration network

6. From a VM in the TFS configuration, ping the test machines to ensure connected

Page 16: Path to Continuous Integration with MS-TFS and Skytap

DEMOSetup the Skytap Test Environment – Part 2

Scenario:

Skytap TFS configuration is in place. Set up the test environment via TFS Lab Management where the bits will be deployed and automated tests executed.

Process:

1. Create a new test environment in Microsoft Test Manager Lab Center

2. Set up the administrative user for machine communication• Same username/password combination on all machines

3. Initiate the creation of the test environment

4. Create a set of test settings to reflect an automated BDT scenario

5. Shutdown the test configuration (the build will re-create it)

6. Disconnect the network

Page 17: Path to Continuous Integration with MS-TFS and Skytap

DEMOCreate & Execute a TFS Build Definition

Scenario:Test environments are now set up. Add a build definition to TFS to kick off the overall build-deploy-test workflow.

Process:1. Create a new build definition based on the Skytap build process template XAML

2. Fill in key parameters:• TFS Configuration ID

• Skytap Login ID

• Skytap Login Key

• Test Environment Configuration ID

3. Queue a new manual build

Page 18: Path to Continuous Integration with MS-TFS and Skytap

Final ThoughtsAdditional Links & Resources

• Skytap Automation Pack for TFS Whitepaper

• How to Set up and Use the Skytap Automation Pack for TFS

• Crosslake Services: http://www.crosslaketech.com

• Skytap Trial Account: http://www.skytap.com/free-trial

• Contact Information:

• Tony Perez (Skytap): [email protected]

• James Waletzky (Crosslake): [email protected]

Page 19: Path to Continuous Integration with MS-TFS and Skytap

Watch the Full Webinar

To watch, click here: http://j.mp/crosslake