diff options
-rw-r--r-- | lib/spack/spack/ci.py | 6 | ||||
-rw-r--r-- | share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/spack/spack/ci.py b/lib/spack/spack/ci.py index 694435f66f..004dc52a4e 100644 --- a/lib/spack/spack/ci.py +++ b/lib/spack/spack/ci.py @@ -770,9 +770,9 @@ def generate_gitlab_ci_yaml( dependent_depth = int(dependent_depth) except (TypeError, ValueError): tty.warn( - "Unrecognized value ({0}) ".format(dependent_depth), - "provide forSPACK_PRUNE_UNTOUCHED_DEPENDENT_DEPTH, ", - "ignoring it.", + f"Unrecognized value ({dependent_depth}) " + "provided for SPACK_PRUNE_UNTOUCHED_DEPENDENT_DEPTH, " + "ignoring it." ) dependent_depth = None diff --git a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml index 5dbbe2860e..2c88503c49 100644 --- a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml +++ b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml @@ -53,7 +53,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 + SPACK_PRUNE_UNTOUCHED_DEPENDENT_DEPTH: "1" .protected-refs: only: |