Automated Deployment Framework Using TFS and Custom PowerShell cmdlets to create an automated deployment framework.

Slides:



Advertisements
Similar presentations
Tridion 5.3 Templates.
Advertisements

en-us/sharepoint/fp
AppManager 7: Deep Technical Dive Tim Sedlack & Michi Schniebel Sr. Product Managers.
Team Foundation Server 2010 Builds: Understand, Configure, and Customize Benjamin Day benday.com |
Visual Studio 2010 SharePoint Developer Tools. Developer Tools for SharePoint  Familiar VS Experience  Build, Debug, Deploy SharePoint projects  Visual.
A Guide to Oracle9i1 Creating an Integrated Database Application Chapter 8.
Rob Reynolds | | Twitter: ferventcoder.
Rob Reynolds | | Twitter: ferventcoder.
An Intro to ALM Using TFS and Visual Studio for Source Control, Build Automation, Continuous Integration, Deployments, and Task Management.
Microsoft SharePoint 2013 SharePoint 2013 as a Developer Platform
BizTalk Deployment using Visual Studio Release Management
TFS WI PriorityPackaging/Test SLADeployment SLA PRI13 business days to UAT4 business hours PRI28 business days to UAT8 business hours PRI314 business.
Module 2: Using Transact-SQL Querying Tools. Overview SQL Query Analyzer Using the Object Browser Tool in SQL Query Analyzer Using Templates in SQL Query.
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Farewell to the Windows Automated Installation Kit (Windows AIK) NAME TITLE DMVMUG User Conference 2013 – Reston, VA.
Testing Tools using Visual Studio Randy Pagels Sr. Developer Technology Specialist Microsoft Corporation.
@benday #vslive Automated Build, Test & Deploy with TFS, ASP.NET, and SQL Server Benjamin
De-mystifying TFS Reporting Benjamin Day Level: Intermediate.
Proposalz Generator Plus July Proposalz Generator Plus
Microsoft ® Official Course Module XA Using Windows PowerShell ®
Implementing Update Management
StyleCop Breaking down the barriers to entry Gary Ewan Park Twitter: Blog:
Microsoft SharePoint Server 2010 for the Microsoft ASP.NET Developer Yaroslav Pentsarskyy
SQL Server User Group Meeting Reporting Services Tips & Tricks Presented by Jason Buck of Custom Business Solutions.
IT 456 Seminar 5 Dr Jeffrey A Robinson. Overview of Course Week 1 – Introduction Week 2 – Installation of SQL and management Tools Week 3 - Creating and.
1 Copyright(c) Dave Krupinski. All rights reserved. Webgenz and Content Management An introduction to using Webgenz to develop and maintain.
Sage ACT! 2013 SDK Update Brian P. Mowka March 23, 2012 Template date: October 2010.
Welcome to Azure App Services! Amie Seisay
Sofia Event Center May 2014 Branimir Giurov C# MVP Solution Architect BulPros Consulting Continuous Integration of Sharepoint 2013 Solutions with.
Working with the Persistent Chat Platform in Lync 2013
BODY From Source Code Management to Daily Build Soren Klemmensen, Kamil Sacek & Luc van Vugt
Msdevcon.ru#msdevcon. ИЗ ПЕРВЫХ РУК: ДИАГНОСТИКА ПРИЛОЖЕНИЙ С ПОМОЩЮ ИНСТРУМЕНТОВ VISUAL STUDIO 2012 MAXIM GOLDIN Senior Developer, Microsoft.
What's New for Build Automation in Team Foundation Server 2015 Paul Hacker Solution Architect, Microsoft ALM MVP.
Adxstudio Portals Training
Welcome to Azure App Services! Amie Seisay
IBM Express Runtime Quick Start Workshop © 2007 IBM Corporation Deploying a Solution.
Integrating and Extending Workflow 8 AA301 Carl Sykes Ed Heaney.
Eliminate Team Build Headaches with Unit Tests, WiX and Virtualization Benjamin Day
YOUR LOGO Phase 2 International Providing critical business software solutions at affordable prices.
Continuous Delivery and Team Foundation Server 2013 Ognjen Bajić Ana Roje Ivančić Ekobit.
AZ PASS User Group Azure Data Factory Overview Josh Sivey, Solution Partner October
Let's build a VMM service template from A to Z in one hour Damien Caro Technical Evangelist Microsoft Central & Eastern Europe
EduGeek Logon Tracker Next generation user tracking.
SSIS ETL Data Resource Management. Create an ETL package using a wizard database server to database server The business goal of this ETL package is to.
John Lloyd, Edgewater Fullscope
The Holmes Platform and Applications
SSIS Templates, Configurations & Variables
Real-world OS Deployment Samples
Managing, Storing, and Executing DTS Packages
Presented By: Jessica M. Moss
Launch Your Database Into Microsoft Azure
Automate Custom Solutions Deployment on Office 365 and Azure
Get the Most Out of GoAnywhere: Agents
Modernize ConfigMgr OSD with Community Tools
IT Atoumation / Conf. Mgmt...
Deploying and Configuring SSIS Packages
Continuous Delivery of Windows Azure Cloud Services (DEV310)
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Free Microsoft Accurate Study Material & Valid Questions
TFS Build Extensions Joubin Najmaie Senior
Azure Automation and Logic Apps:
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
持續的產出Windows Azure 雲端服務
Launch Your Database Into Azure
12/9/2018 Desktop Virtualization Corey Hynes Kyle Rosenthal President Technical Lead HynesITe Inc Spider Consulting @windowspcguy.
PowerShell Best Practices for SQL DBA’s
Lecture 34: Testing II April 24, 2017 Selenium testing script 7/7/2019
Office 365 Development July 2014.
Ready Pre-day Azure Monitoring Workshop
Presentation transcript:

Automated Deployment Framework Using TFS and Custom PowerShell cmdlets to create an automated deployment framework

Agenda TFS Build/Deploy Extending TFS Build/Deploy Custom PowerShell Cmdlets Putting it all Together

TFS Build/Deploy How it works – Workflow Activities – XAML – Build Definitions – Build Controllers/Agents

TFS Build/Deploy Default Process – Trigger – Local Workspace/Drop Folder – Build – Test – MSBuild

TFS Build/Deploy Restrictions – Build Packages – Deploy only through the msbuild command – Rebuilds projects/solution every time

Extending TFS Build/Deploy The Templates – XAML (Silverlight was actually worth something!) – Workflow Activities – Custom Activities and Editors Build Controller Assemblies – Start with the default template and add/remove as needed Test Frequently!

Extending TFS Build/Deploy PowerShell – Object based – Snapins/modules for about every MS product – Remote server commands getting rolled into many cmdlets – Excellent community support

Extending TFS Build/Deploy PowerShell The EEEvil Stuff – Getting rolled into products by separate product teams Error Handling Escaping rEtrieve Behavior

Extending TFS Build/Deploy WebDeploy – Package deployment – SetParameter Files – Remote Execution of Scripts – Azure and Lab Deployments

Extending TFS Build/Deploy Setting it up – Update the template to run a PowerShell script (copy scripts locally and execute it) – Setup a PowerShell script to do your deployment by executing a WebDeploy command line – Setup your build definitions

Extending TFS Build/Deploy Drawbacks to the straight PowerShell approach – Whomever creates/maintains the deployments must know the ins and outs of PowerShell and each PowerShell module you use (iis, adfs, SQL, server, etc) – With multiple deployments, you end up with a lot of duplication between scripts – Complex deployments result in complex scripts

Custom PowerShell Cmdlets Expose.NET code through PowerShell – System.Management.Automation – Inherit from Cmdlet and override BeginProcessing and ProcessRecord methods – Provide help/examples through an xml file – Create a cmdlet for each type of deployment you support and for any common deployment tasks – Can pass in parameters, a file path, use a database, etc for deployment info depending on the complexity of the deployment

Custom PowerShell Cmdlets Install the custom cmdlets on each TFS build agent (using PowerShell of course) Update the PowerShell deployment scripts to call your custom cmdlets

Resources Customizing TFS Templates – Introduction.aspx TFS/ALM – Web Deploy – PowerShell – Custom PowerShell Cmdlets – cmdlet-end-to-end.aspx Andy Bayer Deliveron Consulting Services