-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathazure.yaml
More file actions
28 lines (27 loc) · 975 Bytes
/
azure.yaml
File metadata and controls
28 lines (27 loc) · 975 Bytes
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
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: azure-ai-document-pipeline-python
metadata:
template: azd-init@1.13.2
resourceGroup: ${AZURE_RESOURCE_GROUP_NAME}
services:
ai-document-pipeline:
project: src/AIDocumentPipeline
host: containerapp
language: python
docker:
path: Dockerfile
hooks:
preprovision:
posix:
shell: sh
run: bash ./infra/scripts/deploy_infrastructure.sh $AZURE_ENV_NAME $AZURE_LOCATION
windows:
shell: pwsh
run: infra/scripts/Deploy-Infrastructure.ps1 -DeploymentName $env:AZURE_ENV_NAME -Location $env:AZURE_LOCATION
postprovision:
posix:
shell: sh
run: bash ./infra/scripts/deploy_app.sh ./infra/scripts/InfrastructureOutputs.json
windows:
shell: pwsh
run: infra/scripts/Deploy-App.ps1 -InfrastructureOutputsPath 'infra/scripts/InfrastructureOutputs.json'