summaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2020-05-26 14:30:09 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2020-05-26 16:50:16 (GMT)
commitb368c2d2f7d2fb420c2be623c81c0f56ca56f64a (patch)
tree2e9ea605f0531aa23a97c02ca6f56e91daf17db8 /.gitlab-ci.yml
parent7c0e5fcf636b21fb2f422add09b2c1bd70d336b0 (diff)
downloadCMake-b368c2d2f7d2fb420c2be623c81c0f56ca56f64a.zip
CMake-b368c2d2f7d2fb420c2be623c81c0f56ca56f64a.tar.gz
CMake-b368c2d2f7d2fb420c2be623c81c0f56ca56f64a.tar.bz2
gitlab-ci: delay manual jobs on merges for 5 minutes
This should avoid races with merge trains canceling in-progress builds leaving "rubble" around for further builds to trip over.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bd8a0d3..0b22b35 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,6 +1,7 @@
.manual_rules_settings: &manual_rules_settings
- if: '$CI_PROJECT_PATH == "cmake/cmake"'
- when: always
+ when: delayed
+ start_in: 5 minutes
- if: '$CI_MERGE_REQUEST_ID'
when: manual
- when: never