forked from xen-project/xen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
31 lines (28 loc) · 842 Bytes
/
Copy path.gitlab-ci.yml
File metadata and controls
31 lines (28 loc) · 842 Bytes
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
variables:
XEN_REGISTRY: registry.gitlab.com/xen-project/xen
SELECTED_JOBS_ONLY:
description: "Regex to select only some jobs, must be enclosed with /. For example /job1|job2/"
workflow:
name: "$CI_PIPELINE_SCHEDULE_DESCRIPTION"
rules:
- if: $CI_COMMIT_BRANCH =~ /^(master|smoke|^coverity-tested\/.*|stable-.*)$/
when: never
- when: always
stages:
- containers
- analyze
- build
- test
include:
- local: 'automation/gitlab-ci/containers.yaml'
rules:
- if: $XEN_CI_REBUILD_CONTAINERS
- local: 'automation/gitlab-ci/analyze.yaml'
rules:
- if: $XEN_CI_REBUILD_CONTAINERS == null
- local: 'automation/gitlab-ci/build.yaml'
rules:
- if: $XEN_CI_REBUILD_CONTAINERS == null
- local: 'automation/gitlab-ci/test.yaml'
rules:
- if: $XEN_CI_REBUILD_CONTAINERS == null