summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2023-03-14 14:18:05 +0100
committerGitHub <noreply@github.com>2023-03-14 14:18:05 +0100
commit1691b7caaca81d02fbd47ba082a81b1af9dcb246 (patch)
treee5584bacd89370a578710c9e6c91c80690f58afa
parent4f848f9200af1083b96304bb869a6b2f9cf2c920 (diff)
downloadspack-1691b7caaca81d02fbd47ba082a81b1af9dcb246.tar.gz
spack-1691b7caaca81d02fbd47ba082a81b1af9dcb246.tar.bz2
spack-1691b7caaca81d02fbd47ba082a81b1af9dcb246.tar.xz
spack-1691b7caaca81d02fbd47ba082a81b1af9dcb246.zip
Fix typo affecting Gitlab CI (#36103)
Introduced in #35944
-rw-r--r--lib/spack/spack/ci.py6
-rw-r--r--share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml2
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: