-
Notifications
You must be signed in to change notification settings - Fork 1
/
.rules.yml
35 lines (32 loc) · 1.14 KB
/
.rules.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Rules for where jobs can run
# Derived from: https://gitlab.kitware.com/cmake/cmake/-/blob/v3.25.1/.gitlab/rules.yml
# For an overview of gitlab rules see:
# https://docs.gitlab.com/ee/ci/yaml/#workflowrules
.run_manually:
rules:
- if: '$CI_MERGE_REQUEST_ID'
when: manual
- if: '$CI_COMMIT_REF_PROTECTED == true'
when: on_success
- if: '$CI_PROJECT_PATH == "computer-vision/kwcoco" && $CI_PIPELINE_SOURCE == "schedule"'
when: on_success
- if: '$CI_PROJECT_PATH == "computer-vision/kwcoco"'
when: manual
- when: never
.run_automatically:
rules:
- if: '$CI_MERGE_REQUEST_ID'
when: on_success
- if: '$CI_PROJECT_PATH == "computer-vision/kwcoco" && $CI_PIPELINE_SOURCE == "schedule"'
when: on_success
- if: '$CI_PROJECT_PATH == "computer-vision/kwcoco"'
when: delayed
start_in: 5 minutes
- when: never
.run_dependent:
rules:
- if: '$CI_MERGE_REQUEST_ID'
when: on_success
- if: '$CI_PROJECT_PATH == "computer-vision/kwcoco"'
when: on_success
- when: never