summaryrefslogtreecommitdiff
path: root/eng/pipelines
diff options
context:
space:
mode:
authordotnet-maestro-bot <dotnet-maestro-bot@microsoft.com>2019-08-20 16:22:22 -0700
committerAaron Robinson <arobins@microsoft.com>2019-08-20 16:22:22 -0700
commitab0ab29d45bddfc20535dd3ac80155178af8b6d1 (patch)
tree55f1202e29046f8c430c1cd7f648f325a21c80a3 /eng/pipelines
parent15448381f7b5be72c908fc87d6abd65279d0d25e (diff)
downloadcoreclr-ab0ab29d45bddfc20535dd3ac80155178af8b6d1.tar.gz
coreclr-ab0ab29d45bddfc20535dd3ac80155178af8b6d1.tar.bz2
coreclr-ab0ab29d45bddfc20535dd3ac80155178af8b6d1.zip
Port stage work for 3.0 (#26137) (#26285)
* Add support for servicing (post-build.yml)
Diffstat (limited to 'eng/pipelines')
-rw-r--r--eng/pipelines/internal.yml127
1 files changed, 70 insertions, 57 deletions
diff --git a/eng/pipelines/internal.yml b/eng/pipelines/internal.yml
index 38bf9f10dc..cb41f0595c 100644
--- a/eng/pipelines/internal.yml
+++ b/eng/pipelines/internal.yml
@@ -20,65 +20,78 @@ schedules:
- master
always: true
-jobs:
-#
-# Release builds
-#
-- template: /eng/platform-matrix.yml
- parameters:
- jobTemplate: build-job.yml
- buildConfig: release
- platformGroup: all
- jobParameters:
- # Publishing packages to blob feeds sometimes takes a long time
- # due to waiting for an exclusive lock on the feed.
- # See https://github.com/dotnet/arcade/blob/master/Documentation/CorePackages/AsyncPublishing.md
- timeoutInMinutes: 120
+# See mappings in https://github.com/dotnet/arcade/blob/055bb2951c3107189551ab912b4e5550928b5afb/src/Microsoft.DotNet.Arcade.Sdk/tools/SdkTasks/PublishToPackageFeed.proj#L33-L48
+variables:
+- name: _DotNetArtifactsCategory
+ value: CORECLR
-#
-# Release test builds
-#
-- template: /eng/platform-matrix.yml
- parameters:
- jobTemplate: test-job.yml
- buildConfig: release
- platformGroup: all
- helixQueueGroup: all
- jobParameters:
- testGroup: outerloop
+stages:
+ - stage: build
+ jobs:
+ #
+ # Release builds
+ #
+ - template: /eng/platform-matrix.yml
+ parameters:
+ jobTemplate: build-job.yml
+ buildConfig: release
+ platformGroup: all
+ jobParameters:
+ # Publishing packages to blob feeds sometimes takes a long time
+ # due to waiting for an exclusive lock on the feed.
+ # See https://github.com/dotnet/arcade/blob/master/Documentation/CorePackages/AsyncPublishing.md
+ timeoutInMinutes: 120
-#
-# ReadyToRun test jobs
-#
-- template: /eng/platform-matrix.yml
- parameters:
- jobTemplate: test-job.yml
- buildConfig: release
- platformGroup: all
- helixQueueGroup: all
- jobParameters:
- testGroup: outerloop
- readyToRun: true
- displayNameArgs: R2R
+ #
+ # Release test builds
+ #
+ - template: /eng/platform-matrix.yml
+ parameters:
+ jobTemplate: test-job.yml
+ buildConfig: release
+ platformGroup: all
+ helixQueueGroup: all
+ jobParameters:
+ testGroup: outerloop
-# Publish build information to Build Assets Registry
+ #
+ # ReadyToRun test builds
+ #
+ - template: /eng/platform-matrix.yml
+ parameters:
+ jobTemplate: test-job.yml
+ buildConfig: release
+ platformGroup: all
+ helixQueueGroup: all
+ jobParameters:
+ testGroup: outerloop
+ readyToRun: true
+ displayNameArgs: R2R
-# This job gathers build assets from the pipeline (from each official
-# product build job), and publishes them to the build assets
-# registry. Its dependencies should be updated to include all of the
-# official builds if we add more platform/arch combinations.
+ #
+ # Publish build information to Build Assets Registry
+ #
+ # This job gathers build assets from the pipeline (from each official
+ # product build job), and publishes them to the build assets
+ # registry. Its dependencies should be updated to include all of the
+ # official builds if we add more platform/arch combinations.
+ - template: /eng/finalize-publish.yml
+ parameters:
+ dependsOn:
+ - build_Linux_arm_release
+ - build_Linux_arm64_release
+ - build_Linux_musl_x64_release
+ - build_Linux_musl_arm64_release
+ - build_Linux_rhel6_x64_release
+ - build_Linux_x64_release
+ - build_OSX_x64_release
+ - build_Windows_NT_x64_release
+ - build_Windows_NT_x86_release
+ - build_Windows_NT_arm_release
+ - build_Windows_NT_arm64_release
-- template: /eng/finalize-publish.yml
- parameters:
- dependsOn:
- - build_Linux_arm_release
- - build_Linux_arm64_release
- - build_Linux_musl_x64_release
- - build_Linux_musl_arm64_release
- - build_Linux_rhel6_x64_release
- - build_Linux_x64_release
- - build_OSX_x64_release
- - build_Windows_NT_x64_release
- - build_Windows_NT_x86_release
- - build_Windows_NT_arm_release
- - build_Windows_NT_arm64_release
+ - ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
+ - template: /eng/common/templates/post-build/post-build.yml
+ parameters:
+ # Symbol validation is not entirely reliable as of yet, so should be turned off until https://github.com/dotnet/arcade/issues/2871 is resolved.
+ enableSymbolValidation: false