зеркало из https://github.com/dotnet/aspnetcore.git
[main] Use 1ES machines for official builds (#39684)
This commit is contained in:
Родитель
7e6674c190
Коммит
ccc66f977b
|
@ -747,7 +747,8 @@ stages:
|
|||
- Helix_x64
|
||||
- Source_Build_Managed
|
||||
pool:
|
||||
vmImage: windows-latest
|
||||
name: NetCore1ESPool-Svc-Internal
|
||||
demands: ImageOverride -equals Build.Server.Amd64.VS2019
|
||||
publishUsingPipelines: ${{ variables._PublishUsingPipelines }}
|
||||
enablePublishBuildArtifacts: true # publish artifacts/log files
|
||||
- ${{ if and(ne(variables['System.TeamProject'], 'public'), or(eq(parameters.testSourceIndexing, 'true'), eq(variables['Build.SourceBranch'], 'refs/heads/main'))) }}:
|
||||
|
|
|
@ -108,9 +108,9 @@ jobs:
|
|||
${{ if eq(parameters.agentOs, 'macOS') }}:
|
||||
vmImage: macOS-10.15
|
||||
${{ if eq(parameters.agentOs, 'Linux') }}:
|
||||
${{ if eq(parameters.useHostedUbuntu, true) }}:
|
||||
${{ if and(eq(parameters.useHostedUbuntu, true), or(ne(variables['System.TeamProject'], 'internal'), in(variables['Build.Reason'], 'Manual', 'PullRequest', 'Schedule'))) }}:
|
||||
vmImage: ubuntu-18.04
|
||||
${{ if eq(parameters.useHostedUbuntu, false) }}:
|
||||
${{ if or(eq(parameters.useHostedUbuntu, false), and(eq(variables['System.TeamProject'], 'internal'), notin(variables['Build.Reason'], 'Manual', 'PullRequest', 'Schedule'))) }}:
|
||||
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
||||
name: NetCore1ESPool-Public
|
||||
demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
|
||||
|
|
Загрузка…
Ссылка в новой задаче