sharepoint saturday houston setting up your release pipeline with azure

43
1 Setting up your release pipeline for SharePoint/Office 365 in Azure Vincent Biret

Upload: vincent-biret

Post on 14-Feb-2017

373 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: SharePoint Saturday Houston Setting up your release pipeline with Azure

1

Setting up your release pipeline for SharePoint/Office 365 in Azure

Vincent Biret

Page 2: SharePoint Saturday Houston Setting up your release pipeline with Azure

2

Welcome to SharePoint Saturday Houston

• Please turn off all electronic devices or set them to vibrate.• If you must take a phone call, please do so in the hall so as not

to disturb others.• Special thanks to our Diamond Sponsor, HSPUG

Thank you for being a part of the 7th Annual SharePoint Saturday

for the greater Houston area!

Page 3: SharePoint Saturday Houston Setting up your release pipeline with Azure

3

Thanks to all our Sponsors!

Page 4: SharePoint Saturday Houston Setting up your release pipeline with Azure

4

Information• Speaker presentation slides should be available

from the SPSHOU website within a week or so

• The Houston SharePoint User Group will be having it’s next meeting Wednesday April 20th. Please join us at www.h-spug.org

Page 5: SharePoint Saturday Houston Setting up your release pipeline with Azure

5

Click to edit Master title styleVincent BIRETOffice Servers And Services [email protected]/vince365

Products Team Tech Lead

Montreal

Page 6: SharePoint Saturday Houston Setting up your release pipeline with Azure

6

Who’s that session for?

Page 7: SharePoint Saturday Houston Setting up your release pipeline with Azure

7

Session’s objectives

• High-level understanding of ALM• Being able to set up builds for SP

projects• Being able to set up RM for Apps• High-level understanding of

testing/QA• Technical Debt Management

Page 8: SharePoint Saturday Houston Setting up your release pipeline with Azure

8

Today’s Agenda

• Intro to Software lifecycle• Intro to VSTS/Azure• The build system• High-level intro to deploy and tests

for SP• Intro to tech debt management• Conclusion

Page 9: SharePoint Saturday Houston Setting up your release pipeline with Azure

9

Click to edit Master title style

WHERE IT ALL BEGINS

Software Lifecycle

Page 10: SharePoint Saturday Houston Setting up your release pipeline with Azure

10

Software lifecycle : devops

Plan

Dev

Test

Production

Idea/Need Business Plan

Marketing Sales

Market

FeedbackAgile/CMMI/…Architecture

Source ControlIDEBuild

xTests

Page 11: SharePoint Saturday Houston Setting up your release pipeline with Azure

11

Click to edit Master title style

LET’S TALK ABOUT TOOLING

Visual Studio Team Services and Azure

Page 12: SharePoint Saturday Houston Setting up your release pipeline with Azure

12

•Microsoft’s Cloud platform• IaaS, PaaS, SaaS• Literaly tons of services• You’ve probably heard about it

Page 13: SharePoint Saturday Houston Setting up your release pipeline with Azure

13

Visual Studio Team Services

• TFS as a service• Updated more frequently• Pay per user/build

• Everything except– SharePoint Integration– Process Template

Customization**– Data Warehouse

Page 14: SharePoint Saturday Houston Setting up your release pipeline with Azure

14

Click to edit Master title style

LET’S INCREASE THE QUALITY OF RELEASES

Build

Page 15: SharePoint Saturday Houston Setting up your release pipeline with Azure

15

Automated builds

• Predictable result• Constant quality• Time saving

Page 16: SharePoint Saturday Houston Setting up your release pipeline with Azure

16

Build

• Hard to debug• Only editable with VS• Requires Controller + Agent• Updates not automated• Third party tools hard to integrate

Page 17: SharePoint Saturday Houston Setting up your release pipeline with Azure

17

Build 2015

• JSON definition• Web edition• Lot of third parties integrations• Tasks on github! (see notes)• Agent auto updates!

Page 18: SharePoint Saturday Houston Setting up your release pipeline with Azure

18

Agents• Hosted Agents– BaaS

• Installed Agents– Azure, or anywhere else

Page 19: SharePoint Saturday Houston Setting up your release pipeline with Azure

19

Click to edit Master title style

BUILD SECTION, BUILD AGENTS 2015

Demo

Page 20: SharePoint Saturday Houston Setting up your release pipeline with Azure

20

Click to edit Master title style

AUTOMATE ALL THE THINGS!

Deploy

Page 21: SharePoint Saturday Houston Setting up your release pipeline with Azure

21

Options available

**

Page 22: SharePoint Saturday Houston Setting up your release pipeline with Azure

22

FTC Deployment

• Easy to automate

• PowerShell is your friend

Page 23: SharePoint Saturday Houston Setting up your release pipeline with Azure

23

Apps Deployment• SharePoint Hosted

• Provider Hosted

Page 24: SharePoint Saturday Houston Setting up your release pipeline with Azure

24

Targets

Page 25: SharePoint Saturday Houston Setting up your release pipeline with Azure

25

Should SPFarm be created on build machine?

Pros• Deployment easier• Unit testing easier

Cons• Heavier footprint• Can impact build

Page 26: SharePoint Saturday Houston Setting up your release pipeline with Azure

26

Click to edit Master title style

LAPRESS AND OCEANIK DEPLOYMENT WITH RM

Demo

Page 27: SharePoint Saturday Houston Setting up your release pipeline with Azure

27

Click to edit Master title style

FINAL TOUCH TO QA

Test

Page 28: SharePoint Saturday Houston Setting up your release pipeline with Azure

28

Tests levels

• Unit testing• Load testing• Integration testing• System testing• Functional/Acceptance testing

Page 29: SharePoint Saturday Houston Setting up your release pipeline with Azure

29

Tests types

• Installation• Compatibility• Regression• Destructive• Security

• L17N/I13N• A/B• …..

Page 30: SharePoint Saturday Houston Setting up your release pipeline with Azure

30

Testing tools

• Mstest• Nunit• xUnit• Grunt• Gulp• …

Page 31: SharePoint Saturday Houston Setting up your release pipeline with Azure

31

Testing in the SharePoint World

• Provisioning model– Complex– Closed

• OM hard to emulate/test against

Page 32: SharePoint Saturday Houston Setting up your release pipeline with Azure

32

Tests with FTC

• Almost impossible• Comes at great investments

Page 33: SharePoint Saturday Houston Setting up your release pipeline with Azure

33

Tests with Apps

• Easy for everything out of SharePoint

• Harder for SP-Hosted Apps

Page 34: SharePoint Saturday Houston Setting up your release pipeline with Azure

34

Click to edit Master title style

UNIT TESTS OF LAPRESSE

Demo

Page 35: SharePoint Saturday Houston Setting up your release pipeline with Azure

35

Click to edit Master title style

TEST PLAN OF OCEANIK

Demo

Page 36: SharePoint Saturday Houston Setting up your release pipeline with Azure

36

Click to edit Master title style

OR HOW TO AVOID DIGGING YOUR OWN GRAVE

Technical Debt Management

Page 37: SharePoint Saturday Houston Setting up your release pipeline with Azure

37

What is tech debt?

• Code we’re not comfortable with• Preventing us from innovating• Causing a lot of support• Stressful for the team

Page 38: SharePoint Saturday Houston Setting up your release pipeline with Azure

38

Solutions?

• Rewrite everything every 2 years• Pair coding• Static analysis

Page 39: SharePoint Saturday Houston Setting up your release pipeline with Azure

39

Click to edit Master title style

SONARQUBE FOR OCEANIK

Demo

Page 40: SharePoint Saturday Houston Setting up your release pipeline with Azure

40

Click to edit Master title style

TIME TO SAY GOODBYE

Conclusion

Page 41: SharePoint Saturday Houston Setting up your release pipeline with Azure

41

Conclusion

• Lot of time saved•Consistent builds•Automated tests•Quality increased•Money saved

Page 42: SharePoint Saturday Houston Setting up your release pipeline with Azure

42

Questions?

Thanks for attending!

Page 43: SharePoint Saturday Houston Setting up your release pipeline with Azure

43

Evaluationshttp://bit.ly/VBSPSHOU @baywet

bit.ly/vince365