summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Wittenburg <scott.wittenburg@kitware.com>2023-03-10 12:19:52 -0700
committerGitHub <noreply@github.com>2023-03-10 11:19:52 -0800
commit16c67ff9b4b94c9ae48c60638c94ec0610e6a082 (patch)
treeb56d6a495d5b92a8d189d0ec5c199ab988cd8225
parentce7409bbf7721b884f12884d23ab963e0801958f (diff)
downloadspack-16c67ff9b4b94c9ae48c60638c94ec0610e6a082.tar.gz
spack-16c67ff9b4b94c9ae48c60638c94ec0610e6a082.tar.bz2
spack-16c67ff9b4b94c9ae48c60638c94ec0610e6a082.tar.xz
spack-16c67ff9b4b94c9ae48c60638c94ec0610e6a082.zip
ci: Increase the amount of pruning possible for PR pipelines (#35944)
By setting the traversal depth to 1, only specs matching the changed package and direct dependents of those (and of course all dependencies of that set) are removed from pruning candidacy.
-rw-r--r--share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
index c02b3af28d..8903af5006 100644
--- a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
+++ b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
@@ -27,6 +27,7 @@ default:
SPACK_BUILDCACHE_DESTINATION: "s3://spack-binaries-prs/${CI_COMMIT_REF_NAME}/${SPACK_CI_STACK_NAME}"
SPACK_PIPELINE_TYPE: "spack_pull_request"
SPACK_PRUNE_UNTOUCHED: "True"
+ SPACK_UNTOUCHED_PRUNING_DEPENDENT_DEPTH: 1
.protected-refs:
only: