-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathazure.yaml
63 lines (62 loc) · 1.92 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
# yaml-language-server: $schema=https://azuresdkreleasepreview.blob.core.windows.net/azd/schema/azure.yaml.json
name: modern-csharp-web
metadata:
template: [email protected]
hooks:
preprovision:
posix:
interactive: true
shell: sh
run: ./infra/scripts/preprovision/validate-params.sh && ./infra/scripts/preprovision/whats-my-ip.sh
windows:
interactive: true
shell: pwsh
run: ./infra/scripts/preprovision/validate-params.ps1 && ./infra/scripts/preprovision/whats-my-ip.ps1
postprovision:
posix:
interactive: true
run: ./infra/scripts/postprovision/call-create-app-registrations.sh
windows:
interactive: true
run: ./infra/scripts/postprovision/call-create-app-registrations.ps1
predeploy:
posix:
interactive: true
shell: sh
run: ./infra/scripts/predeploy/call-set-app-configuration.sh
windows:
interactive: true
shell: pwsh
run: ./infra/scripts/predeploy/call-set-app-configuration.ps1
postdeploy:
posix:
interactive: true
run: ./infra/scripts/postdeploy/show-webapp-uri.sh
windows:
interactive: true
run: ./infra/scripts/postdeploy/show-webapp-uri.ps1
predown:
posix:
interactive: true
run: ./infra/scripts/predown/call-cleanup.sh
windows:
interactive: true
run: ./infra/scripts/predown/call-cleanup.ps1
services:
web-callcenter-service:
project: src/Relecloud.Web.CallCenter.Api
language: csharp
host: appservice
web-callcenter-frontend:
project: src/Relecloud.Web.CallCenter
language: csharp
host: appservice
rendering-service:
project: src/Relecloud.TicketRenderer
language: dotnet
host: containerapp
apiVersion: 2024-02-02-preview # Force `azd` to use this API version for GET/PATCH operations
docker:
# These paths are relative to the project directory
path: ./Dockerfile
context: ./../