summaryrefslogtreecommitdiffstats
path: root/.gitlab/rules.yml
blob: 3dc06f7ec6988f39d70a52c60b6f95f8bc240e5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Rules for where jobs can run

.run_manually: &run_manually
    rules:
        - if: '$CI_PROJECT_PATH == "cmake/cmake"'
          when: delayed
          start_in: 5 minutes
        - if: '$CI_MERGE_REQUEST_ID'
          when: manual
        - when: never

.run_automatically: &run_automatically
    rules:
        - if: '$CI_PROJECT_PATH == "cmake/cmake"'
          when: always
        - if: '$CI_MERGE_REQUEST_ID'
          when: always
        - when: never