forked from Azure-Samples/contoso-creative-writer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
azure.yaml
44 lines (43 loc) · 1.13 KB
/
azure.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: creativeagent
metadata:
template: creativeagent@0.0.1-beta
hooks:
postprovision:
posix:
shell: sh
continueOnError: false
interactive: true
run: infra/hooks/postprovision.sh
windows:
shell: pwsh
continueOnError: false
interactive: true
run: infra/hooks/postprovision.ps1
postdeploy:
# windows:
# shell: pwsh
# run: azd env set VITE_API_BASE_URL $env:"https://${CODESPACE_NAME}-8000.app.github.dev"
# posix:
# shell: sh
# run: azd env set VITE_API_BASE_URL ${"https://${CODESPACE_NAME}-8000.app.github.dev"}
infra:
provider: "bicep"
pipeline:
variables:
- AZURE_OPENAI_ENDPOINT
- AZURE_OPENAI_API_VERSION
- AZURE_RESOURCE_GROUP
- AZURE_OPENAI_4_EVAL_DEPLOYMENT_NAME
- AZURE_OPENAI_DEPLOYMENT_NAME
- AZURE_OPENAI_35_TURBO_DEPLOYMENT_NAME
- AZURE_SEARCH_ENDPOINT
- BING_SEARCH_ENDPOINT
- AZURE_OPENAI_NAME
- AZURE_CONTAINER_REGISTRY_NAME
- AZURE_RESOURCE_GROUP
- API_SERVICE_ACA_NAME
- WEB_SERVICE_ACA_NAME
- AZURE_SEARCH_NAME
- WEB_SERVICE_ACA_URI
secrets:
- BING_SEARCH_KEY