summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorkwryankrattiger <80296582+kwryankrattiger@users.noreply.github.com>2024-10-02 17:04:21 -0500
committerGitHub <noreply@github.com>2024-10-02 16:04:21 -0600
commit742e8142cfc264c1e95e7a2141a757a6cfc172e7 (patch)
treebc1470da10515cdd50edca1025c0b2ad3a0d36a4 /lib
parentc30a17a30289b97a0fea1c62dcdc1ecb9998f6b8 (diff)
downloadspack-742e8142cfc264c1e95e7a2141a757a6cfc172e7.tar.gz
spack-742e8142cfc264c1e95e7a2141a757a6cfc172e7.tar.bz2
spack-742e8142cfc264c1e95e7a2141a757a6cfc172e7.tar.xz
spack-742e8142cfc264c1e95e7a2141a757a6cfc172e7.zip
Do not fail noop jobs in Spack CI (#46713)
Diffstat (limited to 'lib')
-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.")