SharePoint Saturday Houston Setting up your release pipeline with Azure
-
Upload
vincent-biret -
Category
Technology
-
view
374 -
download
1
Transcript of SharePoint Saturday Houston Setting up your release pipeline with Azure
![Page 1: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/1.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/2.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/3.jpg)
3
Thanks to all our Sponsors!
![Page 4: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/4.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/5.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/6.jpg)
6
Who’s that session for?
![Page 7: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/7.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/8.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/9.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/10.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/11.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/12.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/13.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/14.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/15.jpg)
15
Automated builds
• Predictable result• Constant quality• Time saving
![Page 16: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/16.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/17.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/18.jpg)
18
Agents• Hosted Agents– BaaS
• Installed Agents– Azure, or anywhere else
![Page 19: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/19.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/20.jpg)
20
Click to edit Master title style
AUTOMATE ALL THE THINGS!
Deploy
![Page 21: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/21.jpg)
21
Options available
**
![Page 22: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/22.jpg)
22
FTC Deployment
• Easy to automate
• PowerShell is your friend
![Page 23: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/23.jpg)
23
Apps Deployment• SharePoint Hosted
• Provider Hosted
![Page 24: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/24.jpg)
24
Targets
![Page 25: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/25.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/26.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/27.jpg)
27
Click to edit Master title style
FINAL TOUCH TO QA
Test
![Page 28: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/28.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/29.jpg)
29
Tests types
• Installation• Compatibility• Regression• Destructive• Security
• L17N/I13N• A/B• …..
![Page 30: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/30.jpg)
30
Testing tools
• Mstest• Nunit• xUnit• Grunt• Gulp• …
![Page 31: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/31.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/32.jpg)
32
Tests with FTC
• Almost impossible• Comes at great investments
![Page 33: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/33.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/34.jpg)
34
Click to edit Master title style
UNIT TESTS OF LAPRESSE
Demo
![Page 35: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/35.jpg)
35
Click to edit Master title style
TEST PLAN OF OCEANIK
Demo
![Page 36: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/36.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/37.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/38.jpg)
38
Solutions?
• Rewrite everything every 2 years• Pair coding• Static analysis
![Page 39: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/39.jpg)
39
Click to edit Master title style
SONARQUBE FOR OCEANIK
Demo
![Page 40: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/40.jpg)
40
Click to edit Master title style
TIME TO SAY GOODBYE
Conclusion
![Page 41: SharePoint Saturday Houston Setting up your release pipeline with Azure](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/41.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022062821/58a3008a1a28abea508b4beb/html5/thumbnails/42.jpg)
42
Questions?
Thanks for attending!