-
Notifications
You must be signed in to change notification settings - Fork 2
/
screwdriver.yaml
60 lines (56 loc) · 984 Bytes
/
screwdriver.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# shared:
# image: node:8
# parameters:
# p1: p1
# jobs:
# main:
# requires: [~pr, ~commit]
# steps:
# - step1: echo ok
# mainFreeze:
# requires: [main]
# # freezeWindows: [ "* 9-17 ? * 1-5" ]
# # freezeWindows: [ "* * ? * *" ]
# freezeWindows: ['* * ? 12 *']
# steps:
# - step1: echo ok
# - step2: echo $(meta get parameters.p1)
shared:
image: node:12
jobs:
A:
requires: [~pr, ~commit]
steps:
- ok: echo ok
B:
requires: [~pr, ~commit]
steps:
- ok: echo ok
C:
requires: [A]
steps:
- ok: echo ok
D:
requires: [C]
steps:
- ok: echo ok
E:
requires: [D]
steps:
- ok: echo ok
F:
requires: [A]
steps:
- ok: echo ok
G:
requires: [A]
steps:
- ok: echo ok
H:
requires: [A]
steps:
- ok: echo ok
I:
requires: [A, H]
steps:
- ok: echo ok