From 4072f70b8aef55258f56b41f6923aed7343ee382 Mon Sep 17 00:00:00 2001 From: Doug Bunting <drb24@cornell.edu> Date: Tue, 2 Apr 2019 16:37:37 -0700 Subject: [PATCH] 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 --- .azure/pipelines/e2e-tests.yml | 33 +++++++++++++++---------- .azure/pipelines/jobs/default-build.yml | 24 +++++++----------- modules/EntityFrameworkCore | 2 +- 3 files changed, 30 insertions(+), 29 deletions(-) diff --git a/.azure/pipelines/e2e-tests.yml b/.azure/pipelines/e2e-tests.yml index 69a3e587555..8ec3f37b584 100644 --- a/.azure/pipelines/e2e-tests.yml +++ b/.azure/pipelines/e2e-tests.yml @@ -1,9 +1,11 @@ trigger: none -phases: -- phase: Host_Windows - queue: - name: Hosted VS2017 - parallel: 8 + +jobs: +- job: Host_Windows + pool: + vmImage: vs2017-win2016 + strategy: + maxParallel: 4 matrix: Portable_Node8: Test.RuntimeIdentifier: none @@ -36,6 +38,7 @@ phases: versionSpec: $(Node.Version) - powershell: | test/Cli.FunctionalTests/run-tests.ps1 -ci -ProdConManifestUrl $env:PRODCONMANIFESTURL -TestRuntimeIdentifier $(Test.RuntimeIdentifier) -AdditionalRestoreSources $env:ADDITIONALRESTORESOURCES + condition: ne(variables['PB_SkipTests'], 'true') displayName: Run E2E tests - task: PublishTestResults@2 @@ -44,10 +47,11 @@ phases: inputs: testRunner: vstest testResultsFiles: 'artifacts/logs/**/*.trx' -- phase: Host_macOS - queue: - name: Hosted macOS - parallel: 4 +- job: Host_macOS + pool: + vmImage: macOS-10.13 + strategy: + maxParallel: 4 # The ASP.NET Core 2.1.X templates are incompatible with Node10 on macOS # https://github.com/aspnet/Templating/issues/608 matrix: @@ -70,6 +74,7 @@ phases: versionSpec: $(Node.Version) - powershell: | test/Cli.FunctionalTests/run-tests.ps1 -ci -ProdConManifestUrl $env:PRODCONMANIFESTURL -TestRuntimeIdentifier $(Test.RuntimeIdentifier) -AdditionalRestoreSources $env:ADDITIONALRESTORESOURCES + condition: ne(variables['PB_SkipTests'], 'true') displayName: Run E2E tests - task: PublishTestResults@2 @@ -78,10 +83,11 @@ phases: inputs: testRunner: vstest testResultsFiles: 'artifacts/logs/**/*.trx' -- phase: Host_Linux - queue: - name: Hosted Linux Preview - parallel: 8 +- job: Host_Linux + pool: + vmImage: ubuntu-16.04 + strategy: + maxParallel: 4 matrix: Portable_Node8: Test.RuntimeIdentifier: none @@ -114,6 +120,7 @@ phases: versionSpec: $(Node.Version) - powershell: | test/Cli.FunctionalTests/run-tests.ps1 -ci -ProdConManifestUrl $env:PRODCONMANIFESTURL -TestRuntimeIdentifier $(Test.RuntimeIdentifier) -AdditionalRestoreSources $env:ADDITIONALRESTORESOURCES + condition: ne(variables['PB_SkipTests'], 'true') displayName: Run E2E tests - task: PublishTestResults@2 diff --git a/.azure/pipelines/jobs/default-build.yml b/.azure/pipelines/jobs/default-build.yml index 6e9547976a0..352f4a5bd8d 100644 --- a/.azure/pipelines/jobs/default-build.yml +++ b/.azure/pipelines/jobs/default-build.yml @@ -26,9 +26,9 @@ # variables: { string: string } # A map of custom variables # 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 ] -# 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 # This build definition is enabled for code signing. (Only applies to Windows) # buildDirectory: string @@ -73,22 +73,16 @@ jobs: ${{ if ne(parameters.poolName, '') }}: name: ${{ parameters.poolName }} ${{ 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 ${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'Linux')) }}: - ${{ if eq(variables['System.TeamProject'], 'internal') }}: - name: dnceng-linux-internal-temp - ${{ if ne(variables['System.TeamProject'], 'internal') }}: - name: dnceng-linux-external-temp - vmImage: Linux_Ubuntu_16.04 + vmImage: ubuntu-16.04 ${{ if and(eq(parameters.poolName, ''), eq(parameters.agentOs, 'Windows')) }}: - ${{ if eq(variables['System.TeamProject'], 'internal') }}: - name: dotnet-internal-temp - ${{ if ne(variables['System.TeamProject'], 'internal') }}: - name: dotnet-external-temp + ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}: + name: NetCorePublic-Int-Pool + queue: BuildPool.Windows.10.Amd64.VS2017.Open + ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}: + name: NetCoreInternal-Int-Pool + queue: BuildPool.Windows.10.Amd64.VS2017 variables: AgentOsName: ${{ parameters.agentOs }} ASPNETCORE_TEST_LOG_MAXPATH: "200" # Keep test log file name length low enough for artifact zipping diff --git a/modules/EntityFrameworkCore b/modules/EntityFrameworkCore index 0cde562cc07..80a5f925977 160000 --- a/modules/EntityFrameworkCore +++ b/modules/EntityFrameworkCore @@ -1 +1 @@ -Subproject commit 0cde562cc070fd00ecf33248df715f6df58a1691 +Subproject commit 80a5f9259776c41f30e5a63e3c9fdd240ce3be2d -- GitLab