-
Notifications
You must be signed in to change notification settings - Fork 477
/
Copy pathazure.yaml
58 lines (55 loc) · 1.51 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: chat-with-your-data-solution-accelerator
metadata:
template: chat-with-your-data-solution-accelerator@1.7.0
hooks:
postprovision:
# run: ./infra/prompt-flow/create-prompt-flow.sh
posix:
shell: sh
run: chmod +x ./scripts/parse_env.sh && ./scripts/parse_env.sh
windows:
shell: pwsh
run: ./scripts/parse_env.ps1
services:
web:
project: ./code
language: py
host: appservice
dist: ./dist
hooks:
prepackage:
windows:
shell: pwsh
run: ../scripts/package_frontend.ps1
interactive: true
continueOnError: false
posix:
shell: sh
run: ../scripts/package_frontend.sh
interactive: true
continueOnError: false
adminweb:
project: ./code/backend
language: py
host: appservice
hooks:
prepackage:
windows:
shell: pwsh
run: poetry install; poetry export -o requirements.txt
posix:
shell: sh
run: poetry install; poetry export -o requirements.txt
function:
project: ./code/backend/batch
language: py
host: function
hooks:
prepackage:
windows:
shell: pwsh
run: poetry export -o requirements.txt; pip install -r requirements.txt
posix:
shell: sh
run: poetry export -o requirements.txt; pip install -r requirements.txt