Skip to content

Commit 8932f98

Browse files
authored
Remove check for mgmt ci triggers (Azure#50346)
We no longer need to check the triggers after our new model of having one joint net - pullrequest pipeline for PR validation. Fixes Azure/azure-sdk-tools#10777
1 parent 10802e7 commit 8932f98

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

eng/Directory.Build.Common.targets

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -328,17 +328,6 @@
328328
<Error Condition="'@(PreviewPackageReferences)' != ''" Text="When the project has a release version it shouldn't reference any pre-release libraries. Found the following pre-release references: @(PreviewPackageReferences, ', ')" />
329329
</Target>
330330

331-
<!-- Validates that all the mgmt libraries have a trigger path in the core resourcemanager pipeline -->
332-
<Target Name="ValidateResourceManagerPipelineTriggers" AfterTargets="Build" Condition="'$(IsMgmtSubLibrary)' == 'true' and '$(IsShippingLibrary)' == 'true'" >
333-
<PropertyGroup>
334-
<_ResourceManagerCIFile>$(RepoRoot)/sdk/resourcemanager/ci.mgmt.yml</_ResourceManagerCIFile>
335-
<_ResourceManagerCIFileContents>$([System.IO.File]::ReadAllText($(_ResourceManagerCIFile)))</_ResourceManagerCIFileContents>
336-
<_ContainsTrigger>$([System.Text.RegularExpressions.Regex]::IsMatch($(_ResourceManagerCIFileContents), `- sdk/.*/$(MSBuildProjectName)\W+`))</_ContainsTrigger>
337-
</PropertyGroup>
338-
339-
<Error Condition="'$(_ContainsTrigger)' != 'true'" Text="The core resourcemanager pipeline ['$(_ResourceManagerCIFile)'] does not contain a trigger path for your library please run 'eng/scripts/Update-Mgmt-CI.ps1' to add the correct trigger paths." />
340-
</Target>
341-
342331
<!-- InheritDoc-->
343332
<ItemGroup Condition="'$(InheritDocEnabled)' != 'false'">
344333
<PackageReference Include="SauceControl.InheritDoc" PrivateAssets="all" />

0 commit comments

Comments
 (0)