You are on page 1of 44

BRK30101 - Creating an exemplar Azure DevOps

Pipeline for Contoso University


BRK30101 -
Creating an
exemplar Azure
DevOps Pipeline
for Contoso
University
The Customer need
What does good
Learn Faster
look like?
People “don’t know what Experts guidance to speed
they don’t know” up the learning process

Repeatable Template N.I.H Syndrome

Re-usable high quality “We’re special so we want


template to base all future an example tailored for us”
work
Detailed Customer Requirements
Contoso University

https://docs.microsoft.com/e
n-us/aspnet/core/data/ef-
rp/intro?view=aspnetcore-
3.1&tabs=visual-studio
Microsoft’s DevOps Tooling + enhanced by GitHub

Security

Package Registry

Actions
The Toolkit

https://github.com/dotnet/roslyn-analyzers
Continuous Delivery Pipeline
101
Continuous Delivery

Our highest priority is to satisfy the customer


through early and continuous delivery of
valuable software.

Agile Manifesto

Continuous Delivery: Reliable Software


Releases through Build, Test, and
Deployment Automation (Addison-Wesley
Signature) by Jez Humble and Dave Farley
Continuous Delivery: The Eight Principles

Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment
Automation (Addison-Wesley Signature) by Jez Humble and Dave Farley
Continuous Delivery: The Four Practices

Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment
Automation (Addison-Wesley Signature) by Jez Humble and Dave Farley
Continuous Delivery at any scale

Amazon
Continuous Delivery at any scale

Etsy

Facebook

ASOS
https://mitchdenny.com/the-inner-loop/
Flow State

https://en.wikipedia.org/wiki/Flow_(psychology)
Inner Loop
https://mitchdenny.com/the-inner-loop/
Unit testing in Visual Studio
Code Analysis Violation in Visual Studio IDE

https://github.com/dotnet/ro
slyn-analyzers
Outer Loop
https://mitchdenny.com/the-inner-loop/
Outer Loop - unrolled

Create
Build Policy Branch Build Branch Release Merge Trunk Build Trunk Release
Pull Deploy
Validation Validation Validation PR if OK Validation Validation
Request
Branch Policy
Validation
Branch Policy triggers website.build pipeline
We can see the Policy impact in Azure DevOps
Website.Build Pipeline

WhiteSource
SonarCloud Publish Release
Build Code Run Unit Tests Vulnerability
Code Analysis Package
check
Pipeline Definition
Same Build pipeline, different conditions
Unit Test Results
Code Coverage
Sonar Cloud Analysis

Quality Gate
WhiteSource Bolt – OSS license & vulnerability
Release Pipeline
Deploy & Validate (QA)

https://docs.microsoft.com/en-us/azure/app-service/deploy-staging-slots
Gherkin Syntax Test Case
Execute the Test Case
Release to QA Pipeline Results
Demo
Azure DevOps Project Clone
Open Source Tool
Thank you!
0800 368 7378 team@devopsgroup.com

@DevOpsGroup www.devopsgroup.com

You might also like