Browse Source

Update build images (#7694)

pull/7697/head
Igor Velikorossov 3 years ago
committed by GitHub
parent
commit
6b7163160e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      azure-pipelines-richnav.yml
  2. 2
      azure-pipelines.yml
  3. 4
      eng/pipelines/build.yml

2
azure-pipelines-richnav.yml

@ -17,7 +17,7 @@ stages:
richCodeNavigationEnvironment: 'production' richCodeNavigationEnvironment: 'production'
pool: pool:
name: NetCore1ESPool-Public name: NetCore1ESPool-Public
demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre.Open
demands: ImageOverride -equals windows.vs2022preview.amd64.open
steps: steps:
- checkout: self - checkout: self

2
azure-pipelines.yml

@ -58,6 +58,8 @@ variables:
value: true value: true
- name: EnableLoc - name: EnableLoc
value: true value: true
- name: NativeToolsOnMachine
value: true
- name: isPublic - name: isPublic
value: ${{ eq(variables['System.TeamProject'], 'public') }} value: ${{ eq(variables['System.TeamProject'], 'public') }}
- name: isPR - name: isPR

4
eng/pipelines/build.yml

@ -15,10 +15,10 @@ jobs:
pool: pool:
${{ if eq(variables['System.TeamProject'], 'public') }}: ${{ if eq(variables['System.TeamProject'], 'public') }}:
name: NetCore1ESPool-Public name: NetCore1ESPool-Public
demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre.Open
demands: ImageOverride -equals windows.vs2022preview.amd64.open
${{ if ne(variables['System.TeamProject'], 'public') }}: ${{ if ne(variables['System.TeamProject'], 'public') }}:
name: NetCore1ESPool-Internal name: NetCore1ESPool-Internal
demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre
demands: ImageOverride -equals windows.vs2022preview.amd64
strategy: strategy:
matrix: matrix:
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}: ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:

Loading…
Cancel
Save