File tree 1 file changed +2
-2
lines changed
eng/common/scripts/Helpers
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -223,8 +223,8 @@ function Remove-WormStorageAccounts() {
223
223
# DO NOT REMOVE THIS
224
224
# We call this script from live test pipelines as well, and a string mismatch/error could blow away
225
225
# some static storage accounts we rely on
226
- if (! $groupPrefix -or ($CI -and ! $GroupPrefix.StartsWith (' rg-' ))) {
227
- throw " The -GroupPrefix parameter must not be empty, or must start with 'rg-' in CI contexts"
226
+ if (! $groupPrefix -or ($CI -and ( ! $GroupPrefix.StartsWith (' rg-' ) -and ! $GroupPrefix .StartsWith ( ' SSS3PT_rg- ' ) ))) {
227
+ throw " The -GroupPrefix parameter must not be empty, or must start with 'rg-' or 'SSS3PT_rg-' in CI contexts"
228
228
}
229
229
230
230
$groups = Get-AzResourceGroup | Where-Object { $_.ResourceGroupName.StartsWith ($GroupPrefix ) } | Where-Object { $_.ProvisioningState -ne ' Deleting' }
You can’t perform that action at this time.
0 commit comments