Skip to content

Commit 0b256ad

Browse files
authored
Merge pull request #388 from afelix-95/main
Update repo to match instructions updates in DevOps labs
2 parents 2c427c9 + 84a7031 commit 0b256ad

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

.ado/eshoponweb-cd-webapp-code.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

.ado/eshoponweb-ci-dockercompose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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'

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.4'
2-
31
services:
42
eshopwebmvc:
53
image: ${DOCKER_REGISTRY-}eshopwebmvc

infra/webapp.bicep

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
param 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
33
param location string = resourceGroup().location
44

55
var appServicePlanName = toLower('AppServicePlan-${webAppName}')

0 commit comments

Comments
 (0)