Skip to content

Commit 51f22a2

Browse files
azure-sdkbenbp
andauthored
Sync eng/common directory with azure-sdk-tools for PR 9888 (Azure#39854)
* Move stress helm charts to azuresdkartifacts. Add publish pipeline * Update stress deploy * Fix tenant reference for pg tme cluster * Update cluster config * Fix powershell module install when whatif is set --------- Co-authored-by: Ben Broderick Phillips <[email protected]>
1 parent 9962b35 commit 51f22a2

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

eng/common/scripts/Helpers/PSModule-Helpers.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function installModule([string]$moduleName, [string]$version, $repoUrl) {
102102

103103
Write-Verbose "Installing module $moduleName with min version $version from $repoUrl"
104104
# Install under CurrentUser scope so that the end up under $CurrentUserModulePath for caching
105-
Install-Module $moduleName -MinimumVersion $version -Repository $repo.Name -Scope CurrentUser -Force
105+
Install-Module $moduleName -MinimumVersion $version -Repository $repo.Name -Scope CurrentUser -Force -WhatIf:$false
106106
# Ensure module installed
107107
$modules = (Get-Module -ListAvailable $moduleName)
108108
if ($version -as [Version]) {

eng/common/scripts/stress-testing/deploy-stress-tests.ps1

100644100755
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#! /bin/env pwsh
2+
13
# Not defining a default parameter set makes SkipLogin/Subscription required all the time.
24
[CmdletBinding(DefaultParameterSetName = 'Default')]
35
param(

eng/common/scripts/stress-testing/stress-test-deployment-lib.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ function DeployStressTests(
115115
Write-Warning "Overriding cluster group and subscription with defaults for 'pg' environment."
116116
}
117117
$clusterGroup = 'rg-stress-cluster-pg'
118-
$subscription = 'Azure SDK Developer Playground'
119-
$tenant = '72f988bf-86f1-41af-91ab-2d7cd011db47'
118+
$subscription = 'Azure SDK Test Resources - TME'
119+
$tenant = '70a036f6-8e4d-4615-bad6-149c02e7720d'
120120
} elseif ($environment -eq 'prod') {
121121
if ($clusterGroup -or $subscription) {
122122
Write-Warning "Overriding cluster group and subscription with defaults for 'prod' environment."
@@ -147,7 +147,7 @@ function DeployStressTests(
147147
}
148148
RunOrExitOnFailure helm repo add --force-update $chartRepoName file://$absAddonsPath
149149
} else {
150-
RunOrExitOnFailure helm repo add --force-update $chartRepoName https://stresstestcharts.blob.core.windows.net/helm/
150+
RunOrExitOnFailure helm repo add --force-update $chartRepoName https://azuresdkartifacts.z5.web.core.windows.net/stress/
151151
}
152152

153153
Run helm repo update

0 commit comments

Comments
 (0)