Upload
vincent-biret
View
282
Download
0
Embed Size (px)
Citation preview
Vincent Biret
Setting Up your Release Pipeline for SharePoint/Office 365 in Azure
2 | SharePoint Saturday Calgary – 23 APR 2016
Sponsors
CalSPOUG
3 | SharePoint Saturday Calgary – 23 APR 2016
About MeVincent BIRETOffice Servers And Services [email protected]/vince365
Products Team Tech Lead
Montreal
4 | SharePoint Saturday Calgary – 23 APR 2016
Who’s that session for?
5 | SharePoint Saturday Calgary – 23 APR 2016
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
6 | SharePoint Saturday Calgary – 23 APR 2016
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
Software Lifecycle
WHERE IT ALL BEGINS
8 | SharePoint Saturday Calgary – 23 APR 2016
Software lifecycle : devops
Plan
Dev
Test
Production
Idea/Need
Business Plan
Marketing Sales
Market
Feedback Agile/CMMI/…Architecture
Source ControlIDEBuild
xTests
Visual Studio Team Services and Azure
LET’S TALK ABOUT TOOLING
10 | SharePoint Saturday Calgary – 23 APR 2016
Microsoft’s Cloud platform IaaS, PaaS, SaaSLiteraly tons of servicesYou’ve probably heard about it
11 | SharePoint Saturday Calgary – 23 APR 2016
Visual Studio Team Services
TFS as a service Updated more
frequently Pay per user/build
Everything except SharePoint Integration Process Template
Customization** Data Warehouse
Build
LET’S INCREASE THE QUALITY OF RELEASES
13 | SharePoint Saturday Calgary – 23 APR 2016
Automated builds
Predictable resultConstant qualityTime saving
14 | SharePoint Saturday Calgary – 23 APR 2016
Build Hard to debug Only editable with VS Requires Controller + Agent Updates not automated Third party tools hard to integrate
15 | SharePoint Saturday Calgary – 23 APR 2016
Build 2015
JSON definitionWeb editionLot of third parties integrations
Tasks on github! (see notes)Agent auto updates!
16 | SharePoint Saturday Calgary – 23 APR 2016
Agents Hosted Agents
BaaS
Installed Agents Azure, or anywhere else
Demo
BUILD SECTION, BUILD AGENTS 2015
Deploy
AUTOMATE ALL THE THINGS!
19 | SharePoint Saturday Calgary – 23 APR 2016
Available Options**
20 | SharePoint Saturday Calgary – 23 APR 2016
FTC deployment Easy to automate
PowerShell is your friend
21 | SharePoint Saturday Calgary – 23 APR 2016
Apps Deployment SharePoint Hosted
Provider Hosted
22 | SharePoint Saturday Calgary – 23 APR 2016
Targets
23 | SharePoint Saturday Calgary – 23 APR 2016
Should SPFarm be created on build machine?
Pros Deployment easier Unit testing easier
Cons Heavier footprint Can impact build
Demo
LAPRESSE AND OCEANIK DEPLOYMENT WITH RM
Test
FINAL TOUCH TO QA
26 | SharePoint Saturday Calgary – 23 APR 2016
Tests levels
Unit testingLoad testing Integration testingSystem testingFunctional/Acceptance testing
27 | SharePoint Saturday Calgary – 23 APR 2016
Tests types
InstallationCompatibility
RegressionDestructive
SecurityL17N/I13NA/B…..
28 | SharePoint Saturday Calgary – 23 APR 2016
Testing tools
MstestNunitxUnitGruntGulp…
29 | SharePoint Saturday Calgary – 23 APR 2016
Testing in the SharePoint World
Provisioning modelComplexClosed
OM hard to emulate/test against
30 | SharePoint Saturday Calgary – 23 APR 2016
Tests with FTC
Almost impossibleComes at great investments
31 | SharePoint Saturday Calgary – 23 APR 2016
Tests with Apps
Easy for everything out of SharePoint
Harder for SP-Hosted Apps
Demo
UNIT TESTS OF LAPRESSE
Technical debt management
OR HOW TO AVOID DIGGING YOUR OWN GRAVE
34 | SharePoint Saturday Calgary – 23 APR 2016
What is tech debt?
Code we’re not comfortable with
Preventing us from innovatingCausing a lot of supportStressful for the team
35 | SharePoint Saturday Calgary – 23 APR 2016
Solutions?
Rewrite everything every 2 years
Pair codingStatic analysis
Demo
SONARQUBE FOR OCEANIK
Conclusion
TIME TO SAY GOODBYE
38 | SharePoint Saturday Calgary – 23 APR 2016
Conclusion
Lot of time savedConsistent buildsAutomated testsQuality increasedMoney saved
Questions & Answers / Thanks
Vincent Biret, @baywet, bit.ly/vince365 [email protected]
40 | SharePoint Saturday Calgary – 23 APR 2016
Sponsors
CalSPOUG
Useful Resources
The Microsoft Press Store
SAVE 40% on print books with code
MSUSERGROUPSAVE 50% on eBooks with code
MSUGEBOOK
*Codes can not be combined with another offer or eBook Deal of the Week feature titles.
Visit microsoftpressstore.com today!
Housekeeping Join us for SharePint, Networking and Expo
Time: 3:05pm - 6:00pm Complimentary appetizers and cash bar