-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.gitlab-ci.yml
37 lines (35 loc) · 924 Bytes
/
.gitlab-ci.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
36
37
workflow:
rules:
- if: $CI_PIPELINE_SOURCE == "web"
- if: $CI_PIPELINE_SOURCE == "webide"
- if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_OPEN_MERGE_REQUESTS
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_REF_PROTECTED == "true"
variables:
RUN_RELEASE:
value: "no"
options:
- "yes"
- "no"
description: "Run release check pipeline"
RUN_DOCS:
value: "yes"
options:
- "yes"
- "no"
description: "Run docs pipeline"
FORCE_DOCS:
value: "no"
options:
- "yes"
- "no"
description: "Force docs pipeline"
release_bugs:
value: ""
description: "Space-separated list of bugs to be released. Used with `release` pipeline. E.g.: '56550 52443 43345'"
include:
- local: .gitlab-ci/gitlab-ci.yml
rules:
- if: $RUN_RELEASE != "yes"
- local: .gitlab-ci/release.yml
rules:
- if: $RUN_RELEASE == "yes"