Do not fail noop jobs in Spack CI (#46713)
This commit is contained in:
parent
c30a17a302
commit
742e8142cf
@ -1272,7 +1272,9 @@ def main_script_replacements(cmd):
|
|||||||
else:
|
else:
|
||||||
# No jobs were generated
|
# No jobs were generated
|
||||||
noop_job = spack_ci_ir["jobs"]["noop"]["attributes"]
|
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:
|
if copy_only_pipeline and config_deprecated:
|
||||||
tty.debug("Generating no-op job as copy-only is unsupported here.")
|
tty.debug("Generating no-op job as copy-only is unsupported here.")
|
||||||
|
Loading…
Reference in New Issue
Block a user