Update to the automated build pool variables (#15438)
Co-authored-by: Michael Simons <msimons@microsoft.com> Co-authored-by: Jason Zhai <v-wuzhai@microsoft.com>
This commit is contained in:
parent
99911716db
commit
0110f59fe3
2 changed files with 11 additions and 7 deletions
|
@ -37,6 +37,8 @@ variables:
|
||||||
/p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
|
/p:DotNetRuntimeSourceFeedKey=$(dotnetbuilds-internal-container-read-token-base64)
|
||||||
/p:dotnetbuilds-internal-container-read-token-base64=$(dotnetbuilds-internal-container-read-token-base64)
|
/p:dotnetbuilds-internal-container-read-token-base64=$(dotnetbuilds-internal-container-read-token-base64)
|
||||||
|
|
||||||
|
- template: /eng/common/templates/variables/pool-providers.yml
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- stage: Build
|
- stage: Build
|
||||||
jobs:
|
jobs:
|
||||||
|
@ -44,10 +46,10 @@ stages:
|
||||||
- job: Publish_Build_Configuration
|
- job: Publish_Build_Configuration
|
||||||
pool:
|
pool:
|
||||||
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||||
name: NetCore-Public
|
name: $(DncEngPublicBuildPool)
|
||||||
demands: ImageOverride -equals windows.vs2022preview.amd64.open
|
demands: ImageOverride -equals windows.vs2022preview.amd64.open
|
||||||
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
name: NetCore1ESPool-Internal
|
name: $(DncEngInternalBuildPool)
|
||||||
demands: ImageOverride -equals windows.vs2022preview.amd64
|
demands: ImageOverride -equals windows.vs2022preview.amd64
|
||||||
steps:
|
steps:
|
||||||
- publish: $(Build.SourcesDirectory)\eng\buildConfiguration
|
- publish: $(Build.SourcesDirectory)\eng\buildConfiguration
|
||||||
|
@ -358,5 +360,5 @@ stages:
|
||||||
publishAssetsImmediately: true
|
publishAssetsImmediately: true
|
||||||
pool:
|
pool:
|
||||||
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
name: NetCore1ESPool-Internal
|
name: $(DncEngInternalBuildPool)
|
||||||
demands: ImageOverride -equals windows.vs2022.amd64
|
demands: ImageOverride -equals windows.vs2022.amd64
|
||||||
|
|
|
@ -82,18 +82,18 @@ jobs:
|
||||||
enableMicrobuild: true
|
enableMicrobuild: true
|
||||||
pool:
|
pool:
|
||||||
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||||
name: NetCore-Public
|
name: $(DncEngPublicBuildPool)
|
||||||
demands: ImageOverride -equals windows.vs2019.amd64.open
|
demands: ImageOverride -equals windows.vs2019.amd64.open
|
||||||
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
name: NetCore1ESPool-Internal
|
name: $(DncEngInternalBuildPool)
|
||||||
demands: ImageOverride -equals windows.vs2019.amd64
|
demands: ImageOverride -equals windows.vs2019.amd64
|
||||||
${{ if eq(parameters.agentOs, 'Linux') }}:
|
${{ if eq(parameters.agentOs, 'Linux') }}:
|
||||||
pool:
|
pool:
|
||||||
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||||
name: NetCore-Public
|
name: $(DncEngPublicBuildPool)
|
||||||
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
|
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
|
||||||
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
||||||
name: NetCore1ESPool-Internal
|
name: $(DncEngInternalBuildPool)
|
||||||
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
|
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64
|
||||||
container: ${{ parameters.container }}
|
container: ${{ parameters.container }}
|
||||||
${{ if eq(parameters.agentOs, 'Darwin') }}:
|
${{ if eq(parameters.agentOs, 'Darwin') }}:
|
||||||
|
@ -168,6 +168,8 @@ jobs:
|
||||||
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
|
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
|
||||||
$(_PgoInstrument)
|
$(_PgoInstrument)
|
||||||
|
|
||||||
|
- template: /eng/common/templates/variables/pool-providers.yml
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
clean: true
|
clean: true
|
||||||
|
|
Loading…
Reference in a new issue