-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure.yaml
More file actions
67 lines (58 loc) · 2.83 KB
/
azure.yaml
File metadata and controls
67 lines (58 loc) · 2.83 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
62
63
64
65
66
67
# yaml-language-server: $schema=https://raw.githubusercontent.com/Azure/azure-dev/main/schemas/v1.0/azure.yaml.json
name: multi-agent-custom-automation-engine-solution-accelerator
metadata:
template: multi-agent-custom-automation-engine-solution-accelerator@1.0
requiredVersions:
azd: '>= 1.18.0'
hooks:
postdeploy:
windows:
run: |
Write-Host ""
Write-Host "===============================================================" -ForegroundColor Yellow
Write-Host " POST-DEPLOYMENT STEPS (PowerShell) " -ForegroundColor Green
Write-Host "===============================================================" -ForegroundColor Yellow
Write-Host ""
Write-Host " STEP 1: Upload Team Configurations to Cosmos DB" -ForegroundColor White
Write-Host " 👉 Run the following command in PowerShell:" -ForegroundColor White
Write-Host " infra\scripts\Upload-Team-Config.ps1" -ForegroundColor Cyan
Write-Host ""
Write-Host " STEP 2: Index Sample Data into Azure Search" -ForegroundColor White
Write-Host " 👉 Run the following command in PowerShell:" -ForegroundColor White
Write-Host " infra\scripts\Process-Sample-Data.ps1" -ForegroundColor Cyan
Write-Host ""
Write-Host "💡 Alternatively, you can run above BOTH steps together using:" -ForegroundColor Yellow
Write-Host " infra\scripts\Team-Config-And-Data.ps1" -ForegroundColor Cyan
Write-Host ""
Write-Host "🌐 Access your deployed Frontend application at:" -ForegroundColor Green
Write-Host " https://$env:webSiteDefaultHostname" -ForegroundColor Cyan
Write-Host ""
shell: pwsh
interactive: true
posix:
run: |
Blue='\033[0;34m'
Green='\033[0;32m'
Yellow='\033[1;33m'
NC='\033[0m'
echo ""
echo "${Yellow}==============================================================="
echo "${Green} POST-DEPLOYMENT STEPS (Bash) "
echo "${Yellow}===============================================================${NC}"
echo ""
echo " STEP 1: Upload Team Configurations to Cosmos DB"
echo " 👉 Run the following command in Bash:"
echo " ${Blue}bash infra/scripts/upload_team_config.sh${NC}"
echo ""
echo " STEP 2: Index Sample Data into Azure Search"
echo " 👉 Run the following command in Bash:"
echo " ${Blue}bash infra/scripts/process_sample_data.sh${NC}"
echo ""
echo "💡 Alternatively, you can run above BOTH steps together using:"
echo " ${Blue}bash infra/scripts/team_config_and_data.sh${NC}"
echo ""
echo "🌐 Access your deployed Frontend application at:"
echo " ${Blue}https://$webSiteDefaultHostname${NC}"
echo ""
shell: sh
interactive: true