From 6d468853490a5c6f2d487a6127165f4226154d39 Mon Sep 17 00:00:00 2001 From: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Date: Thu, 12 Sep 2024 16:55:19 -0700 Subject: [PATCH] Require minimum stress addons version of 0.3.0 (#45938) Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com> --- .../scripts/stress-testing/find-all-stress-packages.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eng/common/scripts/stress-testing/find-all-stress-packages.ps1 b/eng/common/scripts/stress-testing/find-all-stress-packages.ps1 index bec510cd958a6..1668407cb793c 100644 --- a/eng/common/scripts/stress-testing/find-all-stress-packages.ps1 +++ b/eng/common/scripts/stress-testing/find-all-stress-packages.ps1 @@ -87,8 +87,10 @@ function VerifyAddonsVersion([hashtable]$chart, [string]$chartFile) { foreach ($dependency in $chart.dependencies) { if ($dependency.name -eq "stress-test-addons" -and $dependency.version -like '0.1.*' -or - $dependency.version -like '^0.1.*') { - throw "The stress-test-addons version in use for '$chartFile' is $($dependency.version), please use versions >= 0.2.0" + $dependency.version -like '^0.1.*' -or + $dependency.version -like '0.2.*' -or + $dependency.version -like '^0.2.*') { + throw "The stress-test-addons version in use for '$chartFile' is $($dependency.version), use the version ~0.3.0 to avoid breaking changes" } } }