Online Conference
June 17th and 18th 2015
Setting up release pipeline for SharePoint in Azure
Nov 21, 2015
Online Conference
June 17th and 18th 2015
Thank you to all of our Sponsors!!
SharePoint Saturday Ottawa
Vincent BIRET
Email : [email protected] : @baywetBlog : bit.ly/vincentbiretLinkedIn :ca.linkedin.com/in/vbiret
SharePoint MVPProducts Team Tech Lead
Montreal
SharePoint Saturday Ottawa
Who’s that session for?
SharePoint Saturday Ottawa
• 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
Session’s objectives
SharePoint Saturday Ottawa
• Intro to Software lifecycle• Intro to VST/Azure• The build system• High-level intro to deploy and tests for SP• Intro to tech debt management• Conclusion
Today’s Agenda
SharePoint Saturday Ottawa
Software lifecycleWhere it all begins
SharePoint Saturday Ottawa
Software lifecyclePlan
Dev
Test
Production
Idea/Need Business Plan
Marketing Sales
Market
FeedbackAgile/CMMI/…Architecture
Source ControlIDEBuild
xTests
SharePoint Saturday Ottawa
Visual Studio Team Services and Azure Let’s talk about tooling
SharePoint Saturday Ottawa
• Microsoft’s Cloud platform• IaaS, PaaS, SaaS• Literaly tons of services• You’ve probably heard about it
SharePoint Saturday Ottawa
• TFS as a service• Updated more frequently
• Pay per user/build
• Everything except– Release Manager**– SharePoint Integration– Process Template Cutomization
– Data Warehouse
Visual Studio Team Services
SharePoint Saturday Ottawa
BuildLet’s increase quality of releases
SharePoint Saturday Ottawa
• Predictable result• Constant quality• Time saving
Automated builds
SharePoint Saturday Ottawa
• Hard to debug• Only editable with VS• Requires Controller + Agent• Updates not automated• Third party tools hard to integrate
Build
SharePoint Saturday Ottawa
• JSON definition• Web edition• Lot of third parties integrations• Tasks on github! (see notes)• Agent auto updates!
Build 2015
SharePoint Saturday Ottawa
• Hosted Agents– BaaS
• Installed Agents– Azure, or anywhere else
Agents
SharePoint Saturday Ottawa
DemoBuild section, build agents 2015
SharePoint Saturday Ottawa
DeployMore automation
SharePoint Saturday Ottawa
Options available**
SharePoint Saturday Ottawa
• Easy to automate
• PowerShell is your friend
FTC deployment
SharePoint Saturday Ottawa
• SharePoint Hosted
• Provider Hosted
Apps Deployment
SharePoint Saturday Ottawa
Targets
SharePoint Saturday Ottawa
Pros• Deployment easier• Unit testing easier
Should SPFarm configured on build machine?
Cons• Heavier footprint• Can impact build
SharePoint Saturday Ottawa
DemoLaPresse Deployment With Release
Management
SharePoint Saturday Ottawa
TestingFinal touch to QA
SharePoint Saturday Ottawa
• Unit testing• Load testing• Integration testing• System testing• Functional/Acceptance testing
Tests levels
SharePoint Saturday Ottawa
• Installation• Compatibility• Regression• Destructive• Security
• L17N/I13N• A/B• …..
Tests types
SharePoint Saturday Ottawa
• Mstest• Nunit• xUnit• Grunt• Gulp
Test tools
SharePoint Saturday Ottawa
• Provisioning model– Complex– Closed
• OM hard to emulate/test against
The SharePoint Test World
SharePoint Saturday Ottawa
• Almost impossible• Comes at great investments
Tests with FTC’s
SharePoint Saturday Ottawa
• Easy for everything out of SharePoint
• Harder for SP-Hosted Apps
Tests with Apps
SharePoint Saturday Ottawa
DemoUnit tests of La Presse
SharePoint Saturday Ottawa
DemoTest plan of Oceanik
SharePoint Saturday Ottawa
Technical Debt ManagementOr how to avoid digging your own grave
SharePoint Saturday Ottawa
• Code we’re not comfortable with• Preventing us from innovating• Causing a lot of support• Stressful for the team
What is tech debt?
SharePoint Saturday Ottawa
• Rewrite everything every 2 years• Pair coding• Static analysis
Solutions?
SharePoint Saturday Ottawa
DemoSonarQube for Oceanik
SharePoint Saturday Ottawa
ConclusionTime to say goodbye
SharePoint Saturday Ottawa
• Lot of time saved• Consistent builds• Automated tests• Quality increased• Money saved
Conclusion
Stay tuned for more great sessions …
Thanks for attending!
@baywet bit.ly/vincentbiret bit.ly/vince365
Online Conference
June 17th and 18th 2015
At the Observatory Student Pub in Building A
4:10 pm: New! Experts’ Panel Q&A4:30 pm: Prizes and Giveaways4:45 pm: Wrap-up and SharePint!Parking: No need to move your car!
*
If you don’t know where the Observatory is, ask an organizer or a volunteer for directions.
*Please drive responsibly! We are happy to call you a cab
Remember to fill out your evaluation forms to win some great prizes!
Join the conversation – tweet at #spsottawa
New and Improved!
SharePint!