-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathazure.yaml
More file actions
53 lines (50 loc) · 1.32 KB
/
azure.yaml
File metadata and controls
53 lines (50 loc) · 1.32 KB
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
name: ai-policy-engine
metadata:
template: azd-init
infra:
provider: terraform
path: infra/terraform
module: main
services:
api:
project: ./src/AIPolicyEngine.Api
host: containerapp
language: csharp
hooks:
preprovision:
windows:
shell: pwsh
run: |
pwsh -ExecutionPolicy Bypass -File ./scripts/check-terraform-version.ps1
pwsh -ExecutionPolicy Bypass -File ./scripts/preprovision.ps1
posix:
shell: sh
run: ./scripts/preprovision.sh
postprovision:
windows:
shell: pwsh
run: |
pwsh -ExecutionPolicy Bypass -File ./scripts/set-environment-variables.ps1
pwsh -ExecutionPolicy Bypass -File ./scripts/postprovision.ps1
secrets:
entra_app_client_secret: entra_app_client_secret_kv_ref
posix:
shell: sh
run: |
./scripts/set-environment-variables.sh
./scripts/postprovision.sh
postdown:
windows:
shell: pwsh
run: |
if (Test-Path ".vscode/settings.json") {
Remove-Item ".vscode/settings.json" -Force
Write-Host "✅ Removed .vscode/settings.json" -ForegroundColor Green
}
posix:
shell: sh
run: |
if [ -f ".vscode/settings.json" ]; then
rm ".vscode/settings.json"
echo "✅ Removed .vscode/settings.json"
fi