Refactor tarball CI build to support both official and public builds (#12668)
This commit is contained in:
parent
86fe76957f
commit
8a165144e2
2 changed files with 16 additions and 8 deletions
14
eng/source-build-tarball-build-official.yml
Normal file
14
eng/source-build-tarball-build-official.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
trigger: none
|
||||||
|
pr: none
|
||||||
|
resources:
|
||||||
|
pipelines:
|
||||||
|
- pipeline: installer-build-resource
|
||||||
|
source: dotnet-installer-official-ci
|
||||||
|
trigger: true
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- stage: build
|
||||||
|
jobs:
|
||||||
|
- template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-run-tarball-build.yml
|
||||||
|
parameters:
|
||||||
|
tarballResourceId: installer-build-resource
|
|
@ -2,10 +2,7 @@ trigger: none
|
||||||
pr: none
|
pr: none
|
||||||
resources:
|
resources:
|
||||||
pipelines:
|
pipelines:
|
||||||
- pipeline: dotnet-installer-official-ci-resource
|
- pipeline: installer-build-resource
|
||||||
source: dotnet-installer-official-ci
|
|
||||||
trigger: true
|
|
||||||
- pipeline: installer-resource
|
|
||||||
source: installer
|
source: installer
|
||||||
trigger: true
|
trigger: true
|
||||||
|
|
||||||
|
@ -14,7 +11,4 @@ stages:
|
||||||
jobs:
|
jobs:
|
||||||
- template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-run-tarball-build.yml
|
- template: /src/SourceBuild/Arcade/eng/common/templates/job/source-build-run-tarball-build.yml
|
||||||
parameters:
|
parameters:
|
||||||
${{ if eq(variables['System.TeamProject'], 'public') }}:
|
tarballResourceId: installer-build-resource
|
||||||
tarballResourceId: installer-resource
|
|
||||||
${{ if eq(variables['System.TeamProject'], 'internal') }}:
|
|
||||||
tarballResourceId: dotnet-installer-official-ci-resource
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue