From 742e8142cfc264c1e95e7a2141a757a6cfc172e7 Mon Sep 17 00:00:00 2001 From: kwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com> Date: Wed, 2 Oct 2024 17:04:21 -0500 Subject: Do not fail noop jobs in Spack CI (#46713) --- lib/spack/spack/ci.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') 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.") -- cgit v1.2.3-70-g09d2