#collab365 setting up your release pipeline for sharepoint in azure
TRANSCRIPT
Online Conference
June 17th and 18th 2015
WWW.COLLAB365.EVENTS
Setting up release pipeline for SharePoint in Azure
Vincent BIRETNegotium Technologies
WWW.COLLAB365.EVENTS
Vincent BIRET
Email : [email protected] : @baywetBlog : bit.ly/vincentbiretLinkedIn :ca.linkedin.com/in/vbiret
SharePoint MVPProducts Team Tech Lead
Montreal
WWW.COLLAB365.EVENTS
• Developpers• DevOps• QA people• Deciders
Who’s that session for?
WWW.COLLAB365.EVENTS
• High-level understanding of ALM• Being able to set up builds for SP projects• High-level understanding of testing/QA
Session’s objectives
WWW.COLLAB365.EVENTS
• General Introduction to Software lifecycle• General introduction to VSO/Azure• The build system• High-level intro to deploy and tests for SP• Conclusion
Today’s Agenda
WWW.COLLAB365.EVENTS
Software lifecycleWhere it all begins
WWW.COLLAB365.EVENTS
Software lifecyclePlan
Dev
Test
Production
Idea/Need Business Plan
Marketing Sales
Market
FeedbackAgile/CMMI/…Architecture
Source ControlIDEBuild
xTests
WWW.COLLAB365.EVENTS
Visual Studio Online and Azure Let’s talk about tooling
WWW.COLLAB365.EVENTS
• Microsoft’s Cloud platform• IaaS, PaaS, SaaS• Literaly tons of services• You’ve probably heard about it
Azure
WWW.COLLAB365.EVENTS
• TFS as a service• Updated more frequently
• Pay per user/build
• Everything except– Release Manager– SharePoint Integration– Process Template Cutomization
– Data Warehouse
Visual Studio Online
WWW.COLLAB365.EVENTS
BuildLet’s increase quality of releases
WWW.COLLAB365.EVENTS
• Predictable result• Constant quality• Time saving
Automated builds
WWW.COLLAB365.EVENTS
• XAML workflows• Hard to debug• Only editable with VS• Requires Controller + Agent• Updates not automated• Third party tools hard to integrate
Build
WWW.COLLAB365.EVENTS
• JSON definition• Web edition• Lot of third parties integrations• Tasks on github! (see notes)• Agent auto updates!
Build 2015
WWW.COLLAB365.EVENTS
• Hosted Agents– BaaS
• Installed Agents– Azure, or anywhere else
Agents
WWW.COLLAB365.EVENTS
DemoBuild section, build agents 2015
WWW.COLLAB365.EVENTS
DeployMore automation
WWW.COLLAB365.EVENTS
• Release manager• Lab studio• PowerShell• VSO build 2015 tasks
Options available
WWW.COLLAB365.EVENTS
• Easy to automate
• PowerShell is your friend
FTC deployment
WWW.COLLAB365.EVENTS
• SharePoint Hosted
• Provider Hosted
Apps Deployment
WWW.COLLAB365.EVENTS
• On prem farms
• “on the fly” farms on Azure
• Office 365
Targets
WWW.COLLAB365.EVENTS
Pros• Deployment easier• Unit testing easier
Should SPFarm configured on build?
Cons• Heavier footprint• Can impact build
WWW.COLLAB365.EVENTS
DemoAttribute Online Deployment
WWW.COLLAB365.EVENTS
TestingFinal touch to QA
WWW.COLLAB365.EVENTS
• Unit testing• Load testing• Integration testing• System testing• Functional/Acceptance testing
Tests levels
WWW.COLLAB365.EVENTS
• Installation• Compatibility• Regression• Destructive• Security
• L17N/I13N• A/B• …..
Tests types
WWW.COLLAB365.EVENTS
• Mstest• Nunit• xUnit• Grunt• Gulp
Test tools
WWW.COLLAB365.EVENTS
• Provisioning model– Complex– Closed
• OM hard to emulate/test against
The SharePoint Test World
WWW.COLLAB365.EVENTS
• Almost impossible• Comes at great investments
Tests with FTC’s
WWW.COLLAB365.EVENTS
• Easy for everything out of SharePoint
• Harder for SP-Hosted Apps
Tests with Apps
WWW.COLLAB365.EVENTS
DemoUnit tests of La Presse
WWW.COLLAB365.EVENTS
DemoTest plan of Oceanik
WWW.COLLAB365.EVENTS
ConclusionTime to say goodbye
WWW.COLLAB365.EVENTS
• Lot of time saved• Consistent builds• Automated tests• Quality increased• Money saved
Conclusion
WWW.COLLAB365.EVENTS
• Traduire SharePoint de A à Z• L’importance des métadonnées• Using Graph API’s• Release pipeline for SharePoint
Other sessions
WWW.COLLAB365.EVENTS
Stay tuned for more great sessions …
Thanks for attending!
@baywet bit.ly/vincentbiret bit.ly/vince365