-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCarsAPI - CD.yml
More file actions
33 lines (28 loc) · 943 Bytes
/
CarsAPI - CD.yml
File metadata and controls
33 lines (28 loc) · 943 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# ASP.NET Core
# Build and test ASP.NET Core projects targeting .NET Core.
# Add steps that run tests, create a NuGet package, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
variables:
- group: Azure.Infrastructure
- group: CarsApi.Infra.Dev
stages:
- stage: Deploy_ARM_templates
displayName: Download_ARM_Templates
jobs:
- deployment: Deploy_ARM_templates
displayName: Deploy_ARM_Templates
environment: $(Infra.Environment.Name)
pool:
vmImage: $(vmImage.Name)
strategy:
runOnce:
deploy:
steps:
- task: DownloadBuildArtifacts@1
displayName: Download ARM Templates
inputs:
buildType: 'current'
buildVersionToDownload: 'latest'
downloadType: 'single'
artifactName: 'Templates/0ResourceGroup_StorageAccount'
downloadPath: $(ARM.Template.WD)