Do not specify `name` of the default (hosted) pools (#9002)
- aspnet/AspNetCore#8862 - `Hosted Linux Preview` pool name was also no longer valid; aspnet/AspNetCore-Internal#1880 - update e2e-test.yml to use modern AzDO job schema - https://github.com/dotnet/arcade/blob/master/Documentation/AzureDevOps/PhaseToJobSchemaChange.md - also update comments to refer to the job schema - use BYOC queues on Windows; part of aspnet/AspNetCore-Internal#2033 - pick up latest release/2.1 commit for aspnet/EntityFrameworkCore for related changes
This commit is contained in:
parent
2b80b9fa01
commit
4072f70b8a
|
|
@ -1,9 +1,11 @@
|
||||||
trigger: none
|
trigger: none
|
||||||
phases:
|
|
||||||
- phase: Host_Windows
|
jobs:
|
||||||
queue:
|
- job: Host_Windows
|
||||||
name: Hosted VS2017
|
pool:
|
||||||
parallel: 8
|
vmImage: vs2017-win2016
|
||||||
|
strategy:
|
||||||
|
maxParallel: 4
|
||||||
matrix:
|
matrix:
|
||||||
Portable_Node8:
|
Portable_Node8:
|
||||||
Test.RuntimeIdentifier: none
|
Test.RuntimeIdentifier: none
|
||||||
|
|
@ -36,6 +38,7 @@ phases:
|
||||||
versionSpec: $(Node.Version)
|
versionSpec: $(Node.Version)
|
||||||
- powershell: |
|
- powershell: |
|
||||||
test/Cli.FunctionalTests/run-tests.ps1 -ci -ProdConManifestUrl $env:PRODCONMANIFESTURL -TestRuntimeIdentifier $(Test.RuntimeIdentifier) -AdditionalRestoreSources $env:ADDITIONALRESTORESOURCES
|
test/Cli.FunctionalTests/run-tests.ps1 -ci -ProdConManifestUrl $env:PRODCONMANIFESTURL -TestRuntimeIdentifier $(Test.RuntimeIdentifier) -AdditionalRestoreSources $env:ADDITIONALRESTORESOURCES
|
||||||
|
|
||||||
condition: ne(variables['PB_SkipTests'], 'true')
|
condition: ne(variables['PB_SkipTests'], 'true')
|
||||||
displayName: Run E2E tests
|
displayName: Run E2E tests
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
|
|
@ -44,10 +47,11 @@ phases:
|
||||||
inputs:
|
inputs:
|
||||||
testRunner: vstest
|
testRunner: vstest
|
||||||
testResultsFiles: 'artifacts/logs/**/*.trx'
|
testResultsFiles: 'artifacts/logs/**/*.trx'
|
||||||
- phase: Host_macOS
|
- job: Host_macOS
|
||||||
queue:
|
pool:
|
||||||
name: Hosted macOS
|
vmImage: macOS-10.13
|
||||||
parallel: 4
|
strategy:
|
||||||
|
maxParallel: 4
|
||||||
# The ASP.NET Core 2.1.X templates are incompatible with Node10 on macOS
|
# The ASP.NET Core 2.1.X templates are incompatible with Node10 on macOS
|
||||||
# https://github.com/aspnet/Templating/issues/608
|
# https://github.com/aspnet/Templating/issues/608
|
||||||
matrix:
|
matrix:
|
||||||
|
|
@ -70,6 +74,7 @@ phases:
|
||||||
versionSpec: $(Node.Version)
|
versionSpec: $(Node.Version)
|
||||||
- powershell: |
|
- powershell: |
|
||||||
test/Cli.FunctionalTests/run-tests.ps1 -ci -ProdConManifestUrl $env:PRODCONMANIFESTURL -TestRuntimeIdentifier $(Test.RuntimeIdentifier) -AdditionalRestoreSources $env:ADDITIONALRESTORESOURCES
|
test/Cli.FunctionalTests/run-tests.ps1 -ci -ProdConManifestUrl $env:PRODCONMANIFESTURL -TestRuntimeIdentifier $(Test.RuntimeIdentifier) -AdditionalRestoreSources $env:ADDITIONALRESTORESOURCES
|
||||||
|
|
||||||
condition: ne(variables['PB_SkipTests'], 'true')
|
condition: ne(variables['PB_SkipTests'], 'true')
|
||||||
displayName: Run E2E tests
|
displayName: Run E2E tests
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
|
|
@ -78,10 +83,11 @@ phases:
|
||||||
inputs:
|
inputs:
|
||||||
testRunner: vstest
|
testRunner: vstest
|
||||||
testResultsFiles: 'artifacts/logs/**/*.trx'
|
testResultsFiles: 'artifacts/logs/**/*.trx'
|
||||||
- phase: Host_Linux
|
- job: Host_Linux
|
||||||
queue:
|
pool:
|
||||||
name: Hosted Linux Preview
|
vmImage: ubuntu-16.04
|
||||||
parallel: 8
|
strategy:
|
||||||
|
maxParallel: 4
|
||||||
matrix:
|
matrix:
|
||||||
Portable_Node8:
|
Portable_Node8:
|
||||||
Test.RuntimeIdentifier: none
|
Test.RuntimeIdentifier: none
|
||||||
|
|
@ -114,6 +120,7 @@ phases:
|
||||||
versionSpec: $(Node.Version)
|
versionSpec: $(Node.Version)
|
||||||
- powershell: |
|
- powershell: |
|
||||||
test/Cli.FunctionalTests/run-tests.ps1 -ci -ProdConManifestUrl $env:PRODCONMANIFESTURL -TestRuntimeIdentifier $(Test.RuntimeIdentifier) -AdditionalRestoreSources $env:ADDITIONALRESTORESOURCES
|
test/Cli.FunctionalTests/run-tests.ps1 -ci -ProdConManifestUrl $env:PRODCONMANIFESTURL -TestRuntimeIdentifier $(Test.RuntimeIdentifier) -AdditionalRestoreSources $env:ADDITIONALRESTORESOURCES
|
||||||
|
|
||||||
condition: ne(variables['PB_SkipTests'], 'true')
|
condition: ne(variables['PB_SkipTests'], 'true')
|
||||||
displayName: Run E2E tests
|
displayName: Run E2E tests
|
||||||
- task: PublishTestResults@2
|
- task: PublishTestResults@2
|
||||||
|
|
|
||||||
|
|
@ -26,9 +26,9 @@
|
||||||
# variables: { string: string }
|
# variables: { string: string }
|
||||||
# A map of custom variables
|
# A map of custom variables
|
||||||
# matrix: { string: { string: string } }
|
# matrix: { string: { string: string } }
|
||||||
# A map of matrix configurations and variables. https://docs.microsoft.com/en-us/vsts/pipelines/yaml-schema?view=vsts#matrix
|
# A map of matrix configurations and variables. https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema#job
|
||||||
# dependsOn: string | [ string ]
|
# dependsOn: string | [ string ]
|
||||||
# For fan-out/fan-in. https://docs.microsoft.com/en-us/vsts/pipelines/yaml-schema?view=vsts#phase
|
# For fan-out/fan-in. https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&tabs=schema#job
|
||||||
# codeSign: boolean
|
# codeSign: boolean
|
||||||
# This build definition is enabled for code signing. (Only applies to Windows)
|
# This build definition is enabled for code signing. (Only applies to Windows)
|
||||||
# buildDirectory: string
|
# buildDirectory: string
|
||||||
|
|
@ -73,22 +73,16 @@ jobs:
|
||||||
${{ if ne(parameters.poolName, '') }}:
|
${{ if ne(parameters.poolName, '') }}:
|
||||||
name: ${{ parameters.poolName }}
|
name: ${{ parameters.poolName }}
|
||||||
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'macOS')) }}:
|
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'macOS')) }}:
|
||||||
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
|
||||||
name: Hosted Mac Internal
|
|
||||||
${{ if ne(variables['System.TeamProject'], 'internal') }}:
|
|
||||||
name: Hosted macOS
|
|
||||||
vmImage: macOS-10.13
|
vmImage: macOS-10.13
|
||||||
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'Linux')) }}:
|
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'Linux')) }}:
|
||||||
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
vmImage: ubuntu-16.04
|
||||||
name: dnceng-linux-internal-temp
|
|
||||||
${{ if ne(variables['System.TeamProject'], 'internal') }}:
|
|
||||||
name: dnceng-linux-external-temp
|
|
||||||
vmImage: Linux_Ubuntu_16.04
|
|
||||||
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'Windows')) }}:
|
${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'Windows')) }}:
|
||||||
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
name: dotnet-internal-temp
|
name: NetCorePublic-Int-Pool
|
||||||
${{ if ne(variables['System.TeamProject'], 'internal') }}:
|
queue: BuildPool.Windows.10.Amd64.VS2017.Open
|
||||||
name: dotnet-external-temp
|
${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
|
||||||
|
name: NetCoreInternal-Int-Pool
|
||||||
|
queue: BuildPool.Windows.10.Amd64.VS2017
|
||||||
variables:
|
variables:
|
||||||
AgentOsName: ${{ parameters.agentOs }}
|
AgentOsName: ${{ parameters.agentOs }}
|
||||||
ASPNETCORE_TEST_LOG_MAXPATH: "200" # Keep test log file name length low enough for artifact zipping
|
ASPNETCORE_TEST_LOG_MAXPATH: "200" # Keep test log file name length low enough for artifact zipping
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 0cde562cc070fd00ecf33248df715f6df58a1691
|
Subproject commit 80a5f9259776c41f30e5a63e3c9fdd240ce3be2d
|
||||||
Loading…
Reference in New Issue