Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

Commit 44ba66d

Browse files
committed
added deployment name
1 parent b10ff6b commit 44ba66d

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.ado/workflows/dataProductDeployment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ stages:
7474
resourceGroupName: ${{ variables.AZURE_RESOURCE_GROUP_NAME }}
7575
location: ${{ variables.AZURE_LOCATION }}
7676
templateLocation: "Linked artifact"
77-
csmFile: "$(System.DefaultWorkingDirectory)/infra/main.bicep"
77+
csmFile: "$(System.DefaultWorkingDirectory)/infra/main.json"
7878
csmParametersFile: "$(System.DefaultWorkingDirectory)/infra/params.dev.json"
7979
deploymentMode: "Validation"
8080
overrideParameters: >
@@ -98,7 +98,7 @@ stages:
9898
--resource-group ${{ variables.AZURE_RESOURCE_GROUP_NAME }} `
9999
--exclude-change-types Ignore NoChange Unsupported `
100100
--mode "Incremental" `
101-
--template-file "$(System.DefaultWorkingDirectory)/infra/main.bicep" `
101+
--template-file "$(System.DefaultWorkingDirectory)/infra/main.json" `
102102
--parameters "$(System.DefaultWorkingDirectory)/infra/params.dev.json" administratorPassword="$(password)" `
103103
--result-format "FullResourcePayloads"
104104
@@ -159,7 +159,7 @@ stages:
159159
resourceGroupName: ${{ variables.AZURE_RESOURCE_GROUP_NAME }}
160160
location: ${{ variables.AZURE_LOCATION }}
161161
templateLocation: "Linked artifact"
162-
csmFile: "$(System.DefaultWorkingDirectory)/infra/main.bicep"
162+
csmFile: "$(System.DefaultWorkingDirectory)/infra/main.json"
163163
csmParametersFile: "$(System.DefaultWorkingDirectory)/infra/params.dev.json"
164164
deploymentMode: "Incremental"
165165
overrideParameters: >

.github/workflows/dataProductDeployment.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ jobs:
5454
subscriptionId: ${{ env.AZURE_SUBSCRIPTION_ID }}
5555
resourceGroupName: ${{ env.AZURE_RESOURCE_GROUP_NAME }}
5656
region: ${{ env.AZURE_LOCATION }}
57-
template: ${{ github.workspace }}/infra/main.bicep
57+
template: ${{ github.workspace }}/infra/main.json
5858
parameters: ${{ github.workspace }}/infra/params.dev.json administratorPassword="${{ steps.generate_password_001.outputs.password }}"
5959
deploymentMode: Validate
60+
deploymentName: "DataProduct-${{ github.sha }}"
6061
failOnStdErr: false
6162

6263
# Deploy Data Product - what-if
@@ -68,9 +69,10 @@ jobs:
6869
subscriptionId: ${{ env.AZURE_SUBSCRIPTION_ID }}
6970
resourceGroupName: ${{ env.AZURE_RESOURCE_GROUP_NAME }}
7071
region: ${{ env.AZURE_LOCATION }}
71-
template: ${{ github.workspace }}/infra/main.bicep
72+
template: ${{ github.workspace }}/infra/main.json
7273
parameters: ${{ github.workspace }}/infra/params.dev.json administratorPassword="${{ steps.generate_password_001.outputs.password }}"
7374
deploymentMode: Incremental
75+
deploymentName: "DataProduct-${{ github.sha }}"
7476
failOnStdErr: false
7577
additionalArguments: "--what-if --what-if-exclude-change-types Ignore NoChange Unsupported --what-if-result-format FullResourcePayloads"
7678

@@ -119,9 +121,10 @@ jobs:
119121
subscriptionId: ${{ env.AZURE_SUBSCRIPTION_ID }}
120122
resourceGroupName: ${{ env.AZURE_RESOURCE_GROUP_NAME }}
121123
region: ${{ env.AZURE_LOCATION }}
122-
template: ${{ github.workspace }}/infra/main.bicep
124+
template: ${{ github.workspace }}/infra/main.json
123125
parameters: ${{ github.workspace }}/infra/params.dev.json administratorPassword="${{ steps.generate_password_001.outputs.password }}"
124126
deploymentMode: Incremental
127+
deploymentName: "DataProduct-${{ github.sha }}"
125128
failOnStdErr: false
126129

127130
# Log out from Azure

0 commit comments

Comments
 (0)