File tree Expand file tree Collapse file tree 3 files changed +28
-6
lines changed
src/SourceBuild/Arcade/eng/common/templates/job Expand file tree Collapse file tree 3 files changed +28
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,14 @@ resources:
44 pipelines :
55 - pipeline : installer-build-resource
66 source : dotnet-installer-official-ci
7- trigger : true
7+ trigger :
8+ branches :
9+ include :
10+ - main
11+ - release/*
12+ - internal/release/*
13+ stages :
14+ - build
815
916stages :
1017- stage : build
Original file line number Diff line number Diff line change 66 displayName : Source-Build Create Tarball
77 pool :
88 ${{ if eq(variables['System.TeamProject'], 'public') }} :
9- name : NetCore-Svc-Public
10- demands : ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
9+ ${{ if in(variables['Build.Reason'], 'PullRequest') }} :
10+ name : NetCore-Public-XL
11+ demands : ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
12+ ${{ else }} :
13+ name : NetCore-Svc-Public
14+ demands : ImageOverride -equals Build.Ubuntu.1804.Amd64.Open
1115 ${{ if eq(variables['System.TeamProject'], 'internal') }} :
12- name : NetCore1ESPool-Svc-Internal
13- demands : ImageOverride -equals Build.Ubuntu.1804.Amd64
16+ ${{ if in(variables['Build.Reason'], 'PullRequest') }} :
17+ name : NetCore1ESPool-Internal-XL
18+ demands : ImageOverride -equals Build.Ubuntu.1804.Amd64
19+ ${{ else }} :
20+ name : NetCore1ESPool-Svc-Internal
21+ demands : ImageOverride -equals Build.Ubuntu.1804.Amd64
22+
1423 variables :
1524 - name : _BuildConfig
1625 value : Release
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ parameters:
1717 fedora33Container : mcr.microsoft.com/dotnet-buildtools/prereqs:fedora-33-20210222183538-031e7d2
1818 ubuntu1804Container : mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-18.04-20210924170306-047508b
1919 poolInternalAmd64 :
20+ name : NetCore1ESPool-Svc-Internal
21+ demands : ImageOverride -equals Build.Ubuntu.1804.Amd64
22+ poolInternalAmd64PR :
2023 name : NetCore1ESPool-Internal-XL
2124 demands : ImageOverride -equals Build.Ubuntu.1804.Amd64
2225 poolInternalArm64 :
7679 ${{ if eq(variables['System.TeamProject'], 'public') }} :
7780 ${{ parameters.poolPublicAmd64 }}
7881 ${{ if eq(variables['System.TeamProject'], 'internal') }} :
79- ${{ parameters.poolInternalAmd64 }}
82+ ${{ if in(variables['Build.Reason'], 'PullRequest') }} :
83+ ${{ parameters.poolInternalAmd64PR }}
84+ ${{ else }} :
85+ ${{ parameters.poolInternalAmd64 }}
8086
8187- ${{ if eq(variables['System.TeamProject'], 'internal') }} :
8288 - template : /src/SourceBuild/Arcade/eng/common/templates/job/source-build-build-tarball.yml
You can’t perform that action at this time.
0 commit comments