Update pool for prepare release step (#2856)
authorMatt Mitchell <mmitche@microsoft.com>
Tue, 8 Feb 2022 20:03:26 +0000 (12:03 -0800)
committerGitHub <noreply@github.com>
Tue, 8 Feb 2022 20:03:26 +0000 (12:03 -0800)
eng/prepare-release.yml

index 9709e756450277495cac33c323e8f82307157818..61a55f62deb35ef3e24db7f01798459d4c69ec3d 100644 (file)
@@ -8,7 +8,12 @@ stages:
   - job: PrepareReleaseJob
     displayName: Prepare release with Darc
     pool: 
-      vmImage: windows-latest
+      ${{ if eq(variables['System.TeamProject'], 'public') }}:
+        name: NetCore1ESPool-Public
+        demands: ImageOverride -equals build.windows.10.amd64.vs2019.open
+      ${{ if eq(variables['System.TeamProject'], 'internal') }}:
+        name: NetCore1ESPool-Internal
+        demands: ImageOverride -equals build.windows.10.amd64.vs2019
     variables:
     - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/')) }}:
       - group: DotNet-Diagnostics-Storage