Procházet zdrojové kódy

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.
Brad King před 4 roky
rodič
revize
661ff7f2d8
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      .gitlab/rules.yml

+ 2 - 1
.gitlab/rules.yml

@@ -31,7 +31,8 @@
         - if: '$CI_MERGE_REQUEST_ID'
         - if: '$CI_MERGE_REQUEST_ID'
           when: on_success
           when: on_success
         - if: '$CI_PROJECT_PATH == "cmake/cmake"'
         - if: '$CI_PROJECT_PATH == "cmake/cmake"'
-          when: on_success
+          when: delayed
+          start_in: 5 minutes
         - when: never
         - when: never
 
 
 .run_dependent:
 .run_dependent: