From 661ff7f2d88fa4e8d98401e97bdf16cafff95277 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 16 Apr 2021 12:15:15 -0400 Subject: [PATCH] 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. --- .gitlab/rules.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- GitLab