summaryrefslogtreecommitdiff
path: root/.gitlab/rules.yml
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-04-16 12:15:15 -0400
committerBrad King <brad.king@kitware.com>2021-04-16 12:15:15 -0400
commit661ff7f2d88fa4e8d98401e97bdf16cafff95277 (patch)
tree8eb837fb7384f1069eff152e87feb0bbc44a2f47 /.gitlab/rules.yml
parente9da93e066e6898deb2c9749f2395e491ae20cae (diff)
downloadcmake-661ff7f2d88fa4e8d98401e97bdf16cafff95277.tar.gz
gitlab-ci: equally delay all jobs on integration branches
When running a pipeline on an integration branch in `cmake/cmake`, delay the lint jobs just as much as all the others. This avoids starting them unnecessarily during a sequence of merges over a short time range.
Diffstat (limited to '.gitlab/rules.yml')
-rw-r--r--.gitlab/rules.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml
index b3e5342694..256f5677bf 100644
--- a/.gitlab/rules.yml
+++ b/.gitlab/rules.yml
@@ -31,7 +31,8 @@
- if: '$CI_MERGE_REQUEST_ID'
when: on_success
- if: '$CI_PROJECT_PATH == "cmake/cmake"'
- when: on_success
+ when: delayed
+ start_in: 5 minutes
- when: never
.run_dependent: