summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Wittenburg <scott.wittenburg@kitware.com>2021-09-30 18:58:14 -0600
committerTodd Gamblin <tgamblin@llnl.gov>2021-10-01 10:12:37 -0700
commit9f091569235e71cbc9d4c1784d6bd15bf8e0ed84 (patch)
tree2809adad2bfdbbe9c57a64d10772ae59b7ad2639
parentd11156f361d8455b2fdb73466cfa03825516cf66 (diff)
downloadspack-9f091569235e71cbc9d4c1784d6bd15bf8e0ed84.tar.gz
spack-9f091569235e71cbc9d4c1784d6bd15bf8e0ed84.tar.bz2
spack-9f091569235e71cbc9d4c1784d6bd15bf8e0ed84.tar.xz
spack-9f091569235e71cbc9d4c1784d6bd15bf8e0ed84.zip
Retry pipeline generation jobs in certain cases
-rw-r--r--share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
index a29980f4c7..feaa8a875a 100644
--- a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
+++ b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
@@ -35,6 +35,11 @@ default:
- "${CI_PROJECT_DIR}/jobs_scratch_dir"
tags: ["spack", "public", "medium", "x86_64"]
interruptible: true
+ retry:
+ max: 2
+ when:
+ - runner_system_failure
+ - stuck_or_timeout_failure
.pr-generate:
extends: [ ".pr", ".generate" ]