forked from minzcmu/test.template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathscrewdriver.yaml
39 lines (39 loc) · 1.07 KB
/
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
shared:
image: node:6
jobs:
main:
steps:
- install: npm install screwdriver-template-main
# this is run by the PRs as well
- validate: ./node_modules/.bin/template-validate
requires: [~pr,~commit]
sample3:
steps:
- echo: echo "baz"
requires: [~pr, ~commit]
sample4:
steps:
- echo: echo "baz"
requires: [~pr, ~commit]
sample6:
steps:
- echo: echo "baz"
requires: [~pr, ~commit]
sample7:
steps:
- echo: echo "baz"
annotations:
screwdriver.cd/buildPeriodically: '5 4 5 Jan Sun'
requires: [~pr, ~commit]
sample8:
steps:
- echo: echo "baz"
annotations:
screwdriver.cd/buildPeriodically: '15 20 7 May *'
requires: [~pr, ~commit]
publish:
steps:
- install: npm install screwdriver-template-main
# publishing also validates
- publish: ./node_modules/.bin/template-publish
requires: [main]