-
Notifications
You must be signed in to change notification settings - Fork 99
Expand file tree
/
Copy pathazure.yaml
More file actions
61 lines (53 loc) · 2 KB
/
azure.yaml
File metadata and controls
61 lines (53 loc) · 2 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
59
60
61
# # yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
# metadata:
# template: azd-init@1.11.1
environment:
name: agentic-applications-for-unified-data-foundation
location: eastus
name: agentic-applications-for-unified-data-foundation
requiredVersions:
azd: ">= 1.15.0 != 1.23.9"
metadata:
template: agentic-applications-for-unified-data-foundation@1.1
hooks:
postprovision:
windows:
run: |
$isWorkshop = $env:IS_WORKSHOP
$deployApp = $env:AZURE_ENV_DEPLOY_APP
if (-not ($isWorkshop -eq "true" -and $deployApp -ne "true")) {
Write-Host "Web app URL: "
Write-Host "$env:WEB_APP_URL" -ForegroundColor Cyan
}
if ($isWorkshop -eq "true") {
Write-Host ""
} else {
Write-Host "`nRun the following commands in the bash terminal:"
Write-Host "1. Create agents:"
Write-Host "bash ./infra/scripts/agent_scripts/run_create_agents_scripts.sh" -ForegroundColor Cyan
Write-Host "`n2. Create Fabric items:"
Write-Host "bash ./infra/scripts/fabric_scripts/run_fabric_items_scripts.sh <fabric_workspace_id>" -ForegroundColor Cyan
}
shell: pwsh
continueOnError: false
interactive: true
posix:
run: |
if [ "$IS_WORKSHOP" != "true" ] || [ "$AZURE_ENV_DEPLOY_APP" = "true" ]; then
echo "Web app URL: "
echo $WEB_APP_URL
echo ""
fi
if [ "$IS_WORKSHOP" = "true" ]; then
echo ""
else
echo "Run the following commands in the bash terminal:"
echo "1. Create agents:"
echo "bash ./infra/scripts/agent_scripts/run_create_agents_scripts.sh"
echo ""
echo "2. Create Fabric items:"
echo "bash ./infra/scripts/fabric_scripts/run_fabric_items_scripts.sh <fabric_workspace_id>"
fi
shell: sh
continueOnError: false
interactive: true