Do not fail noop jobs in Spack CI (#46713)

This commit is contained in:
kwryankrattiger 2024-10-02 17:04:21 -05:00 committed by GitHub
parent c30a17a302
commit 742e8142cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1272,7 +1272,9 @@ def main_script_replacements(cmd):
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.")