File tree Expand file tree Collapse file tree 4 files changed +172
-181
lines changed Expand file tree Collapse file tree 4 files changed +172
-181
lines changed Original file line number Diff line number Diff line change 52
52
env :
53
53
AZURE_ENV_NAME : ${{ github.run_id }}
54
54
AZURE_LOCATION : ${{ vars.AZURE_LOCATION }}
55
- AZURE_RESOURCE_GROUP : ${{ vars.AZURE_RESOURCE_GROUP }}
56
55
with :
57
56
imageName : ghcr.io/azure-samples/chat-with-your-data-solution-accelerator
58
57
cacheFrom : ghcr.io/azure-samples/chat-with-your-data-solution-accelerator
@@ -66,15 +65,12 @@ jobs:
66
65
AZURE_SUBSCRIPTION_ID
67
66
AZURE_ENV_NAME
68
67
AZURE_LOCATION
69
- AZURE_RESOURCE_GROUP
70
-
71
68
- name : Tidy up
72
69
uses :
devcontainers/[email protected]
73
70
if : always()
74
71
env :
75
72
AZURE_ENV_NAME : ${{ github.run_id }}
76
73
AZURE_LOCATION : ${{ vars.AZURE_LOCATION }}
77
- AZURE_RESOURCE_GROUP : ${{ vars.AZURE_RESOURCE_GROUP }}
78
74
with :
79
75
push : never
80
76
imageName : ghcr.io/azure-samples/chat-with-your-data-solution-accelerator
87
83
AZURE_SUBSCRIPTION_ID
88
84
AZURE_ENV_NAME
89
85
AZURE_LOCATION
90
- AZURE_RESOURCE_GROUP
91
-
86
+
92
87
- name : Send Notification on Failure
93
88
if : failure()
94
89
run : |
Original file line number Diff line number Diff line change @@ -57,14 +57,10 @@ azd-login: ## 🔑 Login to Azure with azd and a SPN
57
57
@echo -e " \e[34m$@ \e[0m" || true
58
58
@azd auth login --client-id ${AZURE_CLIENT_ID} --client-secret ${AZURE_CLIENT_SECRET} --tenant-id ${AZURE_TENANT_ID}
59
59
60
- az-login : # # 🔑 Login to Azure with az and a SPN
61
- az login --service-principal -u ${AZURE_CLIENT_ID} -p ${AZURE_CLIENT_SECRET} --tenant ${AZURE_TENANT_ID}
62
-
63
- deploy : azd-login az-login # # 🚀 Deploy everything to Azure
60
+ deploy : azd-login # # 🚀 Deploy everything to Azure
64
61
@echo -e " \e[34m$@ \e[0m" || true
65
62
@azd env new ${AZURE_ENV_NAME}
66
63
@azd env set AZURE_APP_SERVICE_HOSTING_MODEL code --no-prompt
67
- @az group create --name ${AZURE_RESOURCE_GROUP} --location ${AZURE_LOCATION}
68
64
@azd provision --no-prompt
69
65
@azd deploy web --no-prompt
70
66
@azd deploy function --no-prompt
Original file line number Diff line number Diff line change @@ -277,7 +277,7 @@ param principalId string = ''
277
277
'rbac'
278
278
'keys'
279
279
])
280
- param authType string = 'keys '
280
+ param authType string = 'rbac '
281
281
282
282
@description ('Hosting model for the web apps. Containers are prebuilt and can be deployed faster, but code allows for more customization.' )
283
283
@allowed ([
You can’t perform that action at this time.
0 commit comments