Skip to content

Commit

Permalink
Merge pull request #5360 from k8s-infra-cherrypick-robot/cherry-pick-…
Browse files Browse the repository at this point in the history
…5358-to-release-1.17

[release-1.17] Remove `northeurope` from random region selection to be used for perf tests
  • Loading branch information
jackfrancis authored Jan 7, 2025
2 parents 70f6b6a + 3913be1 commit 655aca6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ capz::util::should_build_ccm() {

# all test regions must support AvailabilityZones
capz::util::get_random_region() {
local REGIONS=("australiaeast" "canadacentral" "francecentral" "germanywestcentral" "northeurope" "switzerlandnorth" "uksouth" )
local REGIONS=("australiaeast" "canadacentral" "francecentral" "germanywestcentral" "switzerlandnorth" "uksouth" )
echo "${REGIONS[${RANDOM} % ${#REGIONS[@]}]}"
}
# all regions below must have GPU availability for the chosen GPU VM SKU
capz::util::get_random_region_gpu() {
local REGIONS=("eastus" "eastus2" "northeurope" "uksouth" "westeurope" "westus2")
local REGIONS=("eastus" "eastus2" "uksouth" "westeurope" "westus2")
echo "${REGIONS[${RANDOM} % ${#REGIONS[@]}]}"
}
# all regions below must support ExtendedLocation
Expand Down

0 comments on commit 655aca6

Please sign in to comment.