diff options
author | Egor Chesakov <Egor.Chesakov@microsoft.com> | 2019-01-10 10:03:03 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-10 10:03:03 -0800 |
commit | 4e6ff628eaebcf32c9ea599b2d47f3290860728e (patch) | |
tree | 48facffbda1a6a8cc105b4e9ae0d60ce0a396d32 | |
parent | 2f808a8558857a5e2ff6503a5279b9f5a0a3b5e6 (diff) | |
download | coreclr-4e6ff628eaebcf32c9ea599b2d47f3290860728e.tar.gz coreclr-4e6ff628eaebcf32c9ea599b2d47f3290860728e.tar.bz2 coreclr-4e6ff628eaebcf32c9ea599b2d47f3290860728e.zip |
Disable what fails and blocks transitioning to Azure DevOps (#21926)
* Run on Debian.9.Amd64.* instead of Debian.8.Amd64.* since it's the minimum supported version of Debian
* Temporary remove Windows.10.Nano.Amd64.Open and Windows.7.Amd64.Open blocked by #21693 #21796
* Don't need a non-portable RHEL7 build and continue using centos7_x64_build_image for building linux-x64 packages (the same way as buildpipeline does)
* Skip submission to Helix if there is are queues to submit to
* Use static string for Helix Сreator property
* Increase timeout for official build test jobs
-rw-r--r-- | azure-pipelines.yml | 6 | ||||
-rw-r--r-- | eng/build-job.yml | 2 | ||||
-rw-r--r-- | eng/platform-matrix.yml | 34 | ||||
-rw-r--r-- | eng/test-job.yml | 6 |
4 files changed, 24 insertions, 24 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 77d8c657c8..af3f27c9bc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -14,9 +14,6 @@ resources: - container: ubuntu_1604_arm64_cross_build_image image: microsoft/dotnet-buildtools-prereqs:ubuntu-16.04-cross-arm64-a3ae44b-20180315221921 - - container: ubuntu_1604_x64_build_image - image: microsoft/dotnet-buildtools-prereqs:ubuntu-16.04-c103199-20180628134544 - - container: musl_x64_build_image image: microsoft/dotnet-buildtools-prereqs:alpine-3.6-WithNode-f4d3fe3-20181220200247 @@ -174,6 +171,7 @@ jobs: buildConfig: release jobParameters: priority: 1 + timeoutInMinutes: 240 # Pri1 crossgen (Official Build) - ${{ if and(ne(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}: @@ -184,6 +182,7 @@ jobs: jobParameters: priority: 1 crossgen: true + timeoutInMinutes: 240 # Publish build information to Build Assets Registry @@ -204,7 +203,6 @@ jobs: - build_Linux_arm64_release - build_Linux_musl_x64_release - build_Linux_rhel6_x64_release - - build_Linux_rhel7_x64_release - build_Linux_x64_release - build_OSX_x64_release - build_Windows_NT_x64_release diff --git a/eng/build-job.yml b/eng/build-job.yml index dfecdc5301..494cbc2efa 100644 --- a/eng/build-job.yml +++ b/eng/build-job.yml @@ -36,7 +36,7 @@ jobs: - name: portableBuildArg value: '' # Ensure that we produce os-specific packages for the following distros: - - ${{ if in(parameters.osIdentifier, 'Linux_rhel6', 'Linux_rhel7', 'Linux_musl') }}: + - ${{ if in(parameters.osIdentifier, 'Linux_rhel6', 'Linux_musl') }}: - name: portableBuildArg value: '-portablebuild=false' - ${{ if and(ne(variables['System.TeamProject'], 'public'), ne(variables['Build.Reason'], 'PullRequest')) }}: diff --git a/eng/platform-matrix.yml b/eng/platform-matrix.yml index 10139f5afa..b2d23c5d8e 100644 --- a/eng/platform-matrix.yml +++ b/eng/platform-matrix.yml @@ -9,6 +9,7 @@ jobs: # https://github.com/Microsoft/azure-pipelines-yaml/pull/46 for more information # Linux arm + - template: ${{ parameters.jobTemplate }} parameters: buildConfig: ${{ parameters.buildConfig }} @@ -22,6 +23,7 @@ jobs: ${{ insert }}: ${{ parameters.jobParameters }} # Linux arm64 + - template: ${{ parameters.jobTemplate }} parameters: buildConfig: ${{ parameters.buildConfig }} @@ -37,6 +39,7 @@ jobs: ${{ insert }}: ${{ parameters.jobParameters }} # Linux musl + - template: ${{ parameters.jobTemplate }} parameters: buildConfig: ${{ parameters.buildConfig }} @@ -48,6 +51,7 @@ jobs: ${{ insert }}: ${{ parameters.jobParameters }} # RHEL 6 + - template: ${{ parameters.jobTemplate }} parameters: buildConfig: ${{ parameters.buildConfig }} @@ -59,18 +63,6 @@ jobs: helixQueuesInternal: 'RedHat.6.Amd64' ${{ insert }}: ${{ parameters.jobParameters }} -# RHEL 7 -- template: ${{ parameters.jobTemplate }} - parameters: - buildConfig: ${{ parameters.buildConfig }} - archType: x64 - osGroup: Linux - osIdentifier: Linux_rhel7 - containerName: centos7_x64_build_image - helixQueuesPublic: 'Centos.7.Amd64.Open,Fedora.28.Amd64.Open,RedHat.7.Amd64.Open' - helixQueuesInternal: 'Centos.7.Amd64,Fedora.28.Amd64,RedHat.7.Amd64' - ${{ insert }}: ${{ parameters.jobParameters }} - # Linux x64 - template: ${{ parameters.jobTemplate }} @@ -79,9 +71,9 @@ jobs: archType: x64 osGroup: Linux osIdentifier: Linux - containerName: ubuntu_1604_x64_build_image - helixQueuesPublic: 'Debian.8.Amd64.Open,Ubuntu.1604.Amd64.Open,Ubuntu.1804.Amd64.Open' - helixQueuesInternal: 'Debian.8.Amd64,Ubuntu.1604.Amd64,Ubuntu.1804.Amd64' + containerName: centos7_x64_build_image + helixQueuesPublic: 'Debian.9.Amd64.Open,Ubuntu.1604.Amd64.Open,Ubuntu.1804.Amd64.Open,Centos.7.Amd64.Open,Fedora.28.Amd64.Open,RedHat.7.Amd64.Open' + helixQueuesInternal: 'Debian.9.Amd64,Ubuntu.1604.Amd64,Ubuntu.1804.Amd64,Centos.7.Amd64,Fedora.28.Amd64,RedHat.7.Amd64' ${{ insert }}: ${{ parameters.jobParameters }} # macOS x64 @@ -96,7 +88,7 @@ jobs: helixQueuesInternal: 'OSX.1012.Amd64,OSX.1013.Amd64,OSX.1014.Amd64' ${{ insert }}: ${{ parameters.jobParameters }} -# Windows x64/x86/arm/arm64 +# Windows x64/x86 - template: ${{ parameters.jobTemplate }} parameters: @@ -104,7 +96,9 @@ jobs: archType: x64 osGroup: Windows_NT osIdentifier: Windows_NT - helixQueuesPublic: 'Windows.10.Amd64.Open,Windows.10.Nano.Amd64.Open,Windows.7.Amd64.Open,Windows.81.Amd64.Open' + # TODO: add Windows.10.Nano.Amd64.Open when https://github.com/dotnet/coreclr/issues/21693 is resolved + # TODO: add Windows.7.Amd64.Open when https://github.com/dotnet/coreclr/issues/21796 is resolved + helixQueuesPublic: 'Windows.10.Amd64.Open,Windows.81.Amd64.Open' helixQueuesInternal: 'Windows.10.Amd64,Windows.10.Nano.Amd64,Windows.10.Amd64.Core,Windows.7.Amd64,Windows.81.Amd64' ${{ insert }}: ${{ parameters.jobParameters }} @@ -114,10 +108,14 @@ jobs: archType: x86 osGroup: Windows_NT osIdentifier: Windows_NT - helixQueuesPublic: 'Windows.10.Amd64.Open,Windows.10.Nano.Amd64.Open,Windows.7.Amd64.Open,Windows.81.Amd64.Open' + # TODO: add Windows.10.Nano.Amd64.Open when https://github.com/dotnet/coreclr/issues/21693 is resolved + # TODO: add Windows.7.Amd64.Open when https://github.com/dotnet/coreclr/issues/21796 is resolved + helixQueuesPublic: 'Windows.10.Amd64.Open,Windows.81.Amd64.Open' helixQueuesInternal: 'Windows.10.Amd64,Windows.10.Nano.Amd64,Windows.10.Amd64.Core,Windows.7.Amd64,Windows.81.Amd64' ${{ insert }}: ${{ parameters.jobParameters }} +# Windows arm/arm64 + - template: ${{ parameters.jobTemplate }} parameters: buildConfig: ${{ parameters.buildConfig }} diff --git a/eng/test-job.yml b/eng/test-job.yml index b56df04f92..f56205ea9d 100644 --- a/eng/test-job.yml +++ b/eng/test-job.yml @@ -129,9 +129,13 @@ jobs: # Access token variable for internal project helixAccessToken: $(DotNet-HelixApi-Access) helixQueues: ${{ parameters.helixQueuesInternal }} + ${{ if eq(parameters.helixQueuesInternal, '') }}: + condition: false ${{ if eq(variables['System.TeamProject'], 'public') }}: isExternal: true - creator: $(Build.RequestedForId) + creator: coreclr/pulls helixQueues: ${{ parameters.helixQueuesPublic }} + ${{ if eq(parameters.helixQueuesPublic, '') }}: + condition: false scenarios: ${{ parameters.scenarios }} |