Skip to content

Commit

Permalink
Sync eng/common directory with azure-sdk-tools for PR 8958 (#31104)
Browse files Browse the repository at this point in the history
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#8958 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

Co-authored-by: Ben Broderick Phillips <[email protected]>
  • Loading branch information
azure-sdk and benbp authored Sep 12, 2024
1 parent 9fd61e0 commit c4ad370
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
Expand Down

0 comments on commit c4ad370

Please sign in to comment.