-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathazure.yaml
More file actions
58 lines (54 loc) · 1.64 KB
/
Copy pathazure.yaml
File metadata and controls
58 lines (54 loc) · 1.64 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
54
55
56
57
58
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
# Azure Developer CLI (azd) configuration for Azure FinOps Agent.
# `azd up` provisions all infrastructure (Bicep under ./infra) and deploys the
# container image to App Service. PowerShell hooks fill the gaps Bicep can't
# cover (Entra app registration, ACR image build, redirect-URI patching).
name: azure-finops-agent
metadata:
template: azure-finops-agent@1.0.0
infra:
provider: bicep
path: infra
module: main
# The web app is built and pushed by the postdeploy hook (`az acr build`),
# which avoids needing a local Docker daemon. We declare no `services` block so
# `azd deploy` is a no-op — provisioning + the postdeploy hook do all the work.
hooks:
preprovision:
posix:
shell: pwsh
run: ./infra/scripts/preprovision.ps1
interactive: true
windows:
shell: pwsh
run: ./infra/scripts/preprovision.ps1
interactive: true
postprovision:
posix:
shell: pwsh
run: ./infra/scripts/postprovision.ps1
interactive: true
windows:
shell: pwsh
run: ./infra/scripts/postprovision.ps1
interactive: true
postdeploy:
posix:
shell: pwsh
run: ./infra/scripts/postdeploy.ps1
interactive: true
windows:
shell: pwsh
run: ./infra/scripts/postdeploy.ps1
interactive: true
postdown:
posix:
shell: pwsh
run: ./infra/scripts/postdown.ps1
interactive: true
continueOnError: true
windows:
shell: pwsh
run: ./infra/scripts/postdown.ps1
interactive: true
continueOnError: true