-
Notifications
You must be signed in to change notification settings - Fork 15
/
azure.yaml
85 lines (80 loc) · 1.81 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: apicenter-reference
metadata:
template: api-center-reference
workflows:
up:
steps:
- azd: provision
- azd: package --all
- azd: deploy --all
services:
containerapp-api-dotnet:
host: containerapp
language: csharp
project: ./dotnet/src/ApiApp
docker:
remoteBuild: true
containerapp-web-dotnet:
host: containerapp
language: csharp
project: ./dotnet/src/WebApp
docker:
remoteBuild: true
containerapp-api-node:
host: containerapp
language: js
project: ./nodejs/webapi
docker:
remoteBuild: true
containerapp-web-node:
host: containerapp
language: js
project: ./nodejs/webapp
docker:
remoteBuild: true
hooks:
preup:
posix:
shell: sh
continueOnError: false
interactive: true
run: infra/hooks/preup.sh
windows:
shell: pwsh
continueOnError: false
interactive: true
run: infra/hooks/preup.ps1
preprovision:
posix:
shell: sh
continueOnError: false
interactive: true
run: infra/hooks/preprovision.sh
windows:
shell: pwsh
continueOnError: false
interactive: true
run: infra/hooks/preprovision.ps1
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
predown:
posix:
shell: sh
continueOnError: false
interactive: true
run: infra/hooks/predown.sh
windows:
shell: pwsh
continueOnError: false
interactive: true
run: infra/hooks/predown.ps1