azure.yaml (50 lines of code) (raw):
# yaml-language-server: $schema=https://azuresdkreleasepreview.blob.core.windows.net/azd/schema/azure.yaml.json
name: reliable-csharp-web
metadata:
template: reliable-csharp-web@1.1.0
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
run: ./infra/scripts/predeploy/call-set-app-configuration.sh
windows:
interactive: true
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