1778797979879879879879889769987698760511.ppt

abhinawpandey4 11 views 36 slides Oct 09, 2024
Slide 1
Slide 1 of 36
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36

About This Presentation

na


Slide Content

CI/CD with Azure DevOps
For ASP.NET Core Projects

About Your Speaker
•Mitchel Sellers
•CEO @ IowaComputerGurus, Inc
•11 year Microsoft MVP, ASP Insider, DNN MVP
•Contact Info
•Email: [email protected]
•Twitter: @mitchelsellers
•Blog: https://www.mitchelsellers.com

Agenda
•Azure DevOps Concepts
•Azure DevOps Costs
•Our Goals

Azure DevOps Concepts - Boards
•Full agile project management
•Ability to flow-through issues
•Create An Issue
•Associate to a Commit/Branch
•Automatically Associated to a Build
•Automatically Associated to Deployment
•Stakeholder accounts are free

Azure DevOps Concepts – Pipelines
(Build)
•Build Processes
•Any language
•Source repos: Azure DevOps, GitHub, etc.
•Multiple steps & complex workflows supported
•Build Location
•Azure Hosted – In the Cloud
•Local Hosted – On-Site
•Artifact Publishing
•Results for Consumption later
•PR / Merging Builds

Build Example

Azure DevOps Concepts – Pipelines
(Release)
•Takes input of artifact
•Automatic or manual
•Branch limitations
•Token Replacement
•Approvals
•Manual Approval
•On Success of Prior
•Delay/Scheduled
•Set time possible

Release Example

Azure DevOps Concepts - Environments
•Connector allowing local environments to be deployed to
from Azure
•Requires a Powershell script to run

Azure DevOps Service Costs

Our Goals
•Build in Azure
•Self Contained Publish
•Increment Version #
•Retain Artifact
•Branching Strategy
•Main => Production
•Development => Development
•Releases
•Development => Automatic
•Production => Approvals

Helper Functions: Free!

.NET Core Project Changes
<PropertyGroup>
<Version>0.0.0</Version>
</PropertyGroup>

Creating our pipeline

1 = Set Project Name
2 = Set Build (Recommend
VS 2019)

Optional Step: Install Tools (Preview
etc.)

$(MajorVersion).$(MinorVersion).$(rev:r)

Create the Release

Resources
•Azure DevOps: https://dev.azure.com
•.NET Core Extensions:
https://marketplace.visualstudio.com/items?itemName=iowa
computergurus.dotnetcore-pipeline-tasks
•My Blog:
https://mitchelsellers.com/blogs/2018/10/07/end-to-end-net-
core-ci-cd-with-azure-devops
Tags