File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed
Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ stages:
4040 resourceGroupName : ' $(resource-group)'
4141 location : ' $(location)'
4242 templateLocation : ' Linked artifact'
43- csmFile : ' $(Pipeline.Workspace)/Bicep/$(templateFile)'
43+ csmFile : ' $(Pipeline.Workspace)/eshoponweb-ci/ Bicep/$(templateFile)'
4444 overrideParameters : ' -webAppName $(webappname) -location $(location)'
4545 deploymentMode : ' Incremental'
4646 deploymentOutputs : ' asp-json'
@@ -53,7 +53,7 @@ stages:
5353 azureSubscription : ' $(azureserviceconnection)'
5454 appType : ' webApp'
5555 WebAppName : ' $(webappname)'
56- packageForLinux : ' $(Pipeline.Workspace)/Website/Web.zip'
56+ packageForLinux : ' $(Pipeline.Workspace)/eshoponweb-ci/ Website/Web.zip'
5757
5858
5959
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ stages:
5454 Write-Host "##vso[task.setvariable variable=acrloginserver;]$value"
5555 echo $acrloginserver
5656 # docker compose build images
57- - task : DockerCompose@0
57+ - task : DockerCompose@1
5858 displayName : Build Docker Compose
5959 inputs :
6060 containerregistrytype : ' Azure Container Registry'
@@ -65,7 +65,7 @@ stages:
6565 action : ' Build services'
6666 additionalImageTags : ' $(Build.BuildNumber)'
6767 includeLatestTag : true
68- - task : DockerCompose@0
68+ - task : DockerCompose@1
6969 displayName : Push Docker Compose
7070 inputs :
7171 containerregistrytype : ' Azure Container Registry'
Original file line number Diff line number Diff line change 1- version : ' 3.4'
2-
31services :
42 eshopwebmvc :
53 image : ${DOCKER_REGISTRY-}eshopwebmvc
Original file line number Diff line number Diff line change 11param webAppName string = uniqueString (resourceGroup ().id ) // Generate unique String for web app name
2- param sku string = 'B1 ' // The SKU of App Service Plan
2+ param sku string = 'S1 ' // The SKU of App Service Plan
33param location string = resourceGroup ().location
44
55var appServicePlanName = toLower ('AppServicePlan-${webAppName }' )
You can’t perform that action at this time.
0 commit comments