Skip to content

Commit a925f6f

Browse files
fix: update principal configuration in CI and parameter files to use standardized naming
1 parent 5100e4c commit a925f6f

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ jobs:
2525
AZURE_TENANT_ID: ${{ secrets.AZURE_TENANT_ID }}
2626
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
2727
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
28-
CUSTOM_PRINCIPAL_ID: ${{ secrets.CUSTOM_PRINCIPAL_ID }}
29-
CUSTOM_PRINCIPAL_NAME: ${{ secrets.CUSTOM_PRINCIPAL_NAME }}
30-
CUSTOM_PRINCIPAL_TYPE: 'ServicePrincipal'
28+
PRINCIPAL_ID: ${{ secrets.PRINCIPAL_ID }}
29+
PRINCIPAL_NAME: ${{ secrets.PRINCIPAL_NAME }}
30+
PRINCIPAL_TYPE: 'ServicePrincipal'
3131

3232
outputs:
3333
imageTag: ${{ steps.set-image-tag.outputs.imageTag }}
@@ -208,9 +208,9 @@ jobs:
208208
DISABLE_AUTHENTICATION=true
209209
NO_AUTH=true
210210
SKIP_AUTH=true
211-
CUSTOM_PRINCIPAL_ID
212-
CUSTOM_PRINCIPAL_NAME
213-
CUSTOM_PRINCIPAL_TYPE
211+
PRINCIPAL_ID
212+
PRINCIPAL_NAME
213+
PRINCIPAL_TYPE
214214
215215
- name: Extract URLs from deployment
216216
id: extract-urls

infra/main.parameters.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
},
1111
"principal": {
1212
"value": {
13-
"id": "${CUSTOM_PRINCIPAL_ID}",
14-
"name": "${CUSTOM_PRINCIPAL_NAME}",
15-
"type": "${CUSTOM_PRINCIPAL_TYPE=User}"
13+
"id": "${PRINCIPAL_ID}",
14+
"name": "${PRINCIPAL_NAME}",
15+
"type": "${PRINCIPAL_TYPE=User}"
1616
}
1717
},
1818
"appEnvironment": {

infra/main.waf.parameters.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
},
1111
"principal": {
1212
"value": {
13-
"id": "${CUSTOM_PRINCIPAL_ID}",
14-
"name": "${CUSTOM_PRINCIPAL_NAME}",
15-
"type": "${CUSTOM_PRINCIPAL_TYPE=User}"
13+
"id": "${PRINCIPAL_ID}",
14+
"name": "${PRINCIPAL_NAME}",
15+
"type": "${PRINCIPAL_TYPE=User}"
1616
}
1717
},
1818
"appEnvironment": {

0 commit comments

Comments
 (0)