-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcider-ci.yml
More file actions
44 lines (40 loc) · 1.06 KB
/
cider-ci.yml
File metadata and controls
44 lines (40 loc) · 1.06 KB
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
38
39
40
41
42
43
44
jobs:
check-feature-tasks:
name: Check if feature tasks are up to date
run_when: &DEFAULT_TRIGGERS
always:
type: branch
include_match: '^.+$'
exclude_match: '^.*(no-ci|hotspot).*$'
context:
include: cider-ci/context-components/check-feature-tasks.yml
all-tests:
name: 'All tests'
description: |
This job depends on all unit jobs that need to pass.
priority: 999 # "empty" job = high priority
context:
task: "echo '✔︎ All dependencies have passed' ; exit 0"
depends_on: &ALL_DEPS
'check-feature-tasks passed':
type: job
job_key: check-feature-tasks
states: [passed]
run_when: *ALL_DEPS
merged-to-master:
name: "Merged to master"
priority: 999
depends_on:
master branch matches:
type: branch
include_match: ^master$
run_when:
master branch matches:
type: branch
include_match: ^master$
context:
tasks:
merged-to-master:
scripts:
test:
body: "exit 0"