From 4413a0d44b927c7ccfe18c65b4b5c5d47d09270d Mon Sep 17 00:00:00 2001 From: CBL-Mariner-Bot <75509084+CBL-Mariner-Bot@users.noreply.github.com> Date: Fri, 17 Nov 2023 14:17:30 -0800 Subject: [PATCH] [AUTO-CHERRYPICK] Make cascanding rebuilds configurable - branch main (#6789) Co-authored-by: Daniel McIlvaney --- .pipelines/templates/PackageBuild.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.pipelines/templates/PackageBuild.yml b/.pipelines/templates/PackageBuild.yml index 72dca7ea91..9edcbd8e84 100644 --- a/.pipelines/templates/PackageBuild.yml +++ b/.pipelines/templates/PackageBuild.yml @@ -62,6 +62,10 @@ parameters: - "false" - "true" + - name: maxCascadingRebuilds + type: string + default: "" + - name: outputArtifactsFolder type: string default: "$(Build.ArtifactStagingDirectory)" @@ -195,15 +199,16 @@ steps: sudo make -C "${{ parameters.buildRepoRoot }}/toolkit" build-packages -j$(nproc) \ CONCURRENT_PACKAGE_BUILDS=${{ parameters.concurrentPackageBuilds }} \ CONFIG_FILE="" \ + MAX_CASCADING_REBUILDS="${{ parameters.maxCascadingRebuilds }}" \ MAX_CPU="${{ parameters.maxCPU }}" \ REBUILD_TOOLS=y \ REPO_LIST="${{ parameters.extraPackageRepos }}" \ SPECS_DIR="${{ parameters.buildRepoRoot }}/${{ parameters.specsFolderPath }}" \ SRPM_PACK_LIST="${{ parameters.srpmPackList }}" \ + TEST_RERUN_LIST="${{ parameters.testRerunList }}" \ $delta_fetch_arg \ $quick_rebuild_packages_arg \ $run_check_arg \ - TEST_RERUN_LIST="${{ parameters.testRerunList }}" \ $use_ccache_arg displayName: "Build packages"