[AUTO-CHERRYPICK] Make cascanding rebuilds configurable - branch main (#6789)
Co-authored-by: Daniel McIlvaney <damcilva@microsoft.com>
This commit is contained in:
Родитель
0a74e855b4
Коммит
4413a0d44b
|
@ -62,6 +62,10 @@ parameters:
|
||||||
- "false"
|
- "false"
|
||||||
- "true"
|
- "true"
|
||||||
|
|
||||||
|
- name: maxCascadingRebuilds
|
||||||
|
type: string
|
||||||
|
default: ""
|
||||||
|
|
||||||
- name: outputArtifactsFolder
|
- name: outputArtifactsFolder
|
||||||
type: string
|
type: string
|
||||||
default: "$(Build.ArtifactStagingDirectory)"
|
default: "$(Build.ArtifactStagingDirectory)"
|
||||||
|
@ -195,15 +199,16 @@ steps:
|
||||||
sudo make -C "${{ parameters.buildRepoRoot }}/toolkit" build-packages -j$(nproc) \
|
sudo make -C "${{ parameters.buildRepoRoot }}/toolkit" build-packages -j$(nproc) \
|
||||||
CONCURRENT_PACKAGE_BUILDS=${{ parameters.concurrentPackageBuilds }} \
|
CONCURRENT_PACKAGE_BUILDS=${{ parameters.concurrentPackageBuilds }} \
|
||||||
CONFIG_FILE="" \
|
CONFIG_FILE="" \
|
||||||
|
MAX_CASCADING_REBUILDS="${{ parameters.maxCascadingRebuilds }}" \
|
||||||
MAX_CPU="${{ parameters.maxCPU }}" \
|
MAX_CPU="${{ parameters.maxCPU }}" \
|
||||||
REBUILD_TOOLS=y \
|
REBUILD_TOOLS=y \
|
||||||
REPO_LIST="${{ parameters.extraPackageRepos }}" \
|
REPO_LIST="${{ parameters.extraPackageRepos }}" \
|
||||||
SPECS_DIR="${{ parameters.buildRepoRoot }}/${{ parameters.specsFolderPath }}" \
|
SPECS_DIR="${{ parameters.buildRepoRoot }}/${{ parameters.specsFolderPath }}" \
|
||||||
SRPM_PACK_LIST="${{ parameters.srpmPackList }}" \
|
SRPM_PACK_LIST="${{ parameters.srpmPackList }}" \
|
||||||
|
TEST_RERUN_LIST="${{ parameters.testRerunList }}" \
|
||||||
$delta_fetch_arg \
|
$delta_fetch_arg \
|
||||||
$quick_rebuild_packages_arg \
|
$quick_rebuild_packages_arg \
|
||||||
$run_check_arg \
|
$run_check_arg \
|
||||||
TEST_RERUN_LIST="${{ parameters.testRerunList }}" \
|
|
||||||
$use_ccache_arg
|
$use_ccache_arg
|
||||||
displayName: "Build packages"
|
displayName: "Build packages"
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче