We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a2c94f commit f3ec6d2Copy full SHA for f3ec6d2
2 files changed
.github/workflows/CI.yml
@@ -89,6 +89,7 @@ jobs:
89
AZURE_CLIENT_SECRET: ${{ secrets.AZURE_CLIENT_SECRET }}
90
GPT_MIN_CAPACITY: '10'
91
TEXT_EMBEDDING_MIN_CAPACITY: '10'
92
+ AZURE_REGIONS: "${{ vars.AZURE_REGIONS }}"
93
94
95
# Send Notification on Quota Failure
Deployment/checkquota.ps1
@@ -1,5 +1,9 @@
1
# List of Azure regions to check for quota (update as needed)
2
-$REGIONS = @("WestUS3", "CanadaCentral", "eastus")
+$AZURE_REGIONS = "$env:AZURE_REGIONS"
3
+# Ensure regions are correctly split and trimmed
4
+$REGIONS = ($AZURE_REGIONS -split '[,\s]') | ForEach-Object { $_.Trim() } | Where-Object { $_ -ne "" }
5
+
6
+Write-Output "📍 Processed Regions: $($REGIONS -join ', ')"
7
8
$SUBSCRIPTION_ID = $env:AZURE_SUBSCRIPTION_ID
9
$GPT_MIN_CAPACITY = $env:GPT_MIN_CAPACITY
0 commit comments