summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/ci.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/spack/spack/ci.py b/lib/spack/spack/ci.py
index 9772d05f36..f360137ede 100644
--- a/lib/spack/spack/ci.py
+++ b/lib/spack/spack/ci.py
@@ -1272,7 +1272,9 @@ def generate_gitlab_ci_yaml(
else:
# No jobs were generated
noop_job = spack_ci_ir["jobs"]["noop"]["attributes"]
- noop_job["retry"] = service_job_retries
+ # If this job fails ignore the status and carry on
+ noop_job["retry"] = 0
+ noop_job["allow_failure"] = True
if copy_only_pipeline and config_deprecated:
tty.debug("Generating no-op job as copy-only is unsupported here.")