Skip to content

Commit b9b02b8

Browse files
Cycle locations, add comments.
1 parent 4ee6686 commit b9b02b8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

azure-devops/create-1es-hosted-pool.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ if ($Arch -ieq 'x64') {
2929
$ImageOffer = 'WindowsServer'
3030
$ImageSku = '2025-datacenter-azure-edition'
3131
} else {
32-
$AvailableLocations = @('eastus2', 'northeurope') # Locations where CPP_STL_GitHub has obtained sufficient quota.
33-
$AvailableLocationIdx = 1 # Increment for each new pool, to cycle through the available locations.
32+
# CPP_STL_GitHub has quota for 672 cores (21 VMs) in westcentralus, not currently used.
33+
$AvailableLocations = @('eastus2', 'northeurope') # Locations where CPP_STL_GitHub has quota for 1024 cores (32 VMs).
34+
$AvailableLocationIdx = 2 # Increment for each new pool, to cycle through the available locations.
3435
$Location = $AvailableLocations[$AvailableLocationIdx % $AvailableLocations.Length]
3536
$VMSize = 'Standard_D32ps_v6'
3637
$PoolSize = 32

0 commit comments

Comments
 (0)