-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathazure.yaml
63 lines (62 loc) · 1.48 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
59
60
61
62
63
# see https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/azd-schema
name: moneta
services:
backend:
language: python
project: src/backend
host: containerapp
docker:
path: ./Dockerfile
remoteBuild: true
frontend:
language: python
project: src/frontend
host: containerapp
docker:
path: ./Dockerfile
remoteBuild: true
hooks:
preprovision:
# windows:
# shell: pwsh
# run: .\scripts\preprovision.ps1
# interactive: true
# continueOnError: false
posix:
shell: sh
run: ./scripts/preprovision.sh
interactive: true
continueOnError: false
postprovision:
# windows:
# shell: pwsh
# run: .\scripts\postprovision.ps1
# interactive: true
# continueOnError: false
posix:
shell: sh
run: ./scripts/postprovision.sh
interactive: true
continueOnError: false
predown:
# windows:
# shell: pwsh
# run: .\scripts\predown.ps1
# interactive: true
# continueOnError: false
posix:
shell: sh
run: ./scripts/predown.sh
interactive: true
continueOnError: false
postdeploy:
posix:
shell: sh
run: ./scripts/load_python_env.sh && ./scripts/postdeploy.sh;
interactive: true
continueOnError: false
windows:
shell: pwsh
run: ./scripts/load_python_env.ps1 && ./scripts/postdeploy.ps1;
interactive: true
continueOnError: false