spca2014 sp ci with tfs online and azure matthias einig

24
SharePoint Continuous Integration with VS Online and Azure Matthias Einig, MVP RENCORE AB

Upload: nccomms

Post on 02-Jul-2015

155 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Spca2014 sp ci with tfs online and azure matthias einig

SharePoint Continuous Integration

with VS Online and Azure

Matthias Einig, MVPRENCORE AB

Page 2: Spca2014 sp ci with tfs online and azure matthias einig
Page 3: Spca2014 sp ci with tfs online and azure matthias einig

Who is that guy?

[email protected]

www.matthiaseinig.de

Matthias EinigCEO, SharePoint MVP

Stockholm, Sweden

Page 4: Spca2014 sp ci with tfs online and azure matthias einig

Continuous what?

Build centralized

Check Quality

Continuous

Integration

Code Quality

Build centralized

Check Quality

Deploy

Continuous

Deployment

Process Quality

Build centralized

Check Quality

Deploy

Test

Continuous

Delivery

Functional Quality

Page 5: Spca2014 sp ci with tfs online and azure matthias einig

Why?

•Fail fast and early in the development process

•Deliver smaller increments == less defects

•Know exactly what is deployed

•Reproducable

•No dependency on specific people

Page 6: Spca2014 sp ci with tfs online and azure matthias einig

Manual deployment

!=

Fun

Page 7: Spca2014 sp ci with tfs online and azure matthias einig

What should be included?

Farm Solutions

Apps

Database schema

Code

WSP, App, Data, PowerShell

Farm / Site settings

Site Structure

Feature Activations…

Configuration

Files, List Data

Taxonomies

Database Content…

Content

Page 8: Spca2014 sp ci with tfs online and azure matthias einig

Dev Challenges•Deployment of VMs time consuming, resource and performance hungry

•Multiple environments required (SP2010/2013, CUs/Service Packs, Websites, O365 tenants)

•Deployment/Testing requires „clean“ production-like environment

• VMs for different versions of the own solution(s)

•Deployment process complicated and error-prone

Page 9: Spca2014 sp ci with tfs online and azure matthias einig

The solution!

Source Control

Workitem Tracking

Project Management

Automated Build

Test Management

Analytics

Websites

Virtual Machines

Storage

Databases

Active Directory

Networks

Page 10: Spca2014 sp ci with tfs online and azure matthias einig

Source Control

Workitem Tracking

Project Management

Automated Build

Test Management

Analytics

Websites

Virtual Machines

Storage

Databases

Active Directory

Networks

Page 11: Spca2014 sp ci with tfs online and azure matthias einig

Why Cloud?

•Quick to set up

•Scalable

•Easy to tear down

•No IT Pros involved

• Included in MSDN subscription

•Pay per use

Page 12: Spca2014 sp ci with tfs online and azure matthias einig

CD for Farm/SB Solutions

VSO

QADEV

DEV

Page 13: Spca2014 sp ci with tfs online and azure matthias einig

CD FOR FARM/SB SOLUTIONS

Page 14: Spca2014 sp ci with tfs online and azure matthias einig

CD for Provider Hosted Apps

VSO

DEV

SPODev site

AzureDev site

SPOProd site

AzureProd site

Page 15: Spca2014 sp ci with tfs online and azure matthias einig

CD FOR PROVIDER HOSTED APPS

Page 16: Spca2014 sp ci with tfs online and azure matthias einig

CD for Farm/SB Solutions

VSO

QADEV

DEV

Page 17: Spca2014 sp ci with tfs online and azure matthias einig

Release Management Server

TFS

QA

DEV

RM

PROD

Page 18: Spca2014 sp ci with tfs online and azure matthias einig

Release Management 2013

Page 19: Spca2014 sp ci with tfs online and azure matthias einig

Release Management 2013

Page 20: Spca2014 sp ci with tfs online and azure matthias einig

Summary• Find problems earlier and save time & money

• VS Online + Azure = perfect for SharePoint CD

• Can be implemented in several steps

• Deployment of Farm Solutions with PowerShell

• Deployment of Apps with ootb VS Online

It‘s worth it!

Page 21: Spca2014 sp ci with tfs online and azure matthias einig

References• SharePoint Solution Deployer

spsd.codeplex.com

• SharePoint Code Analysis Frameworkspcaf.com

• SharePoint/TFS Continuous Integration Starter Pack (Chris O’Brien)matte.in/SharePointCI

• Continuous Integration for SharePoint (MSDN)matte.in/CI4SharePointMSDN

• Configure a TFS Build Server for SharePoint Projects (MSDN)matte.in/TFSBuild4SP

• Deploying Provider Hosted SharePoint Apps to Azure (Kirk Evans)matte.in/CDSPApp2Azure

Page 22: Spca2014 sp ci with tfs online and azure matthias einig

questions?

WWW.MATTHIASEINIG.DE

@MATTEIN

Page 23: Spca2014 sp ci with tfs online and azure matthias einig
Page 24: Spca2014 sp ci with tfs online and azure matthias einig

thank you.