From dd40de06067ad08c07fa36b213d1cc5e7ccf6af4 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Fri, 21 Jan 2022 16:57:41 -0800 Subject: [PATCH] Sync eng/common directory with azure-sdk-tools for PR 2578 (#3268) * excluding duplicated env:USER in image tag * NIT * removing default repo name Co-authored-by: Albert Cheng --- .../scripts/stress-testing/stress-test-deployment-lib.ps1 | 6 ------ 1 file changed, 6 deletions(-) diff --git a/eng/common/scripts/stress-testing/stress-test-deployment-lib.ps1 b/eng/common/scripts/stress-testing/stress-test-deployment-lib.ps1 index da3bb3fd5..2e1bf5747 100644 --- a/eng/common/scripts/stress-testing/stress-test-deployment-lib.ps1 +++ b/eng/common/scripts/stress-testing/stress-test-deployment-lib.ps1 @@ -86,12 +86,6 @@ function DeployStressTests( $subscription = 'Azure SDK Test Resources' } - if (!$repository) { - $repository = if ($env:USER) { $env:USER } else { "${env:USERNAME}" } - # Remove spaces, etc. that may be in $namespace - $repository -replace '\W' - } - if ($login) { if (!$clusterGroup -or !$subscription) { throw "clusterGroup and subscription parameters must be specified when logging into an environment that is not test or prod."