-
Notifications
You must be signed in to change notification settings - Fork 36
/
buddy.yml
68 lines (68 loc) · 1.91 KB
/
buddy.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
- pipeline: "Pull request"
trigger_mode: "ON_EVERY_PUSH"
ref_name: "refs/pull/*"
ref_type: "WILDCARD"
priority: "NORMAL"
fail_on_prepare_env_warning: true
trigger_condition: "ALWAYS"
actions:
- action: "NPM - Test"
type: "BUILD"
working_directory: "/buddy/comedy"
docker_image_name: "library/node"
docker_image_tag: "10"
execute_commands:
- "npm ci"
- "npm run validate"
- "npm run coverage"
volume_mappings:
- "/:/buddy/comedy"
trigger_condition: "ALWAYS"
shell: "BASH"
- action: "Codecov"
type: "BUILD"
working_directory: "/buddy/comedy"
docker_image_name: "library/ubuntu"
docker_image_tag: "18.04"
execute_commands:
- "bash <(curl -s https://codecov.io/bash)"
setup_commands:
- "apt-get update && apt-get -y install curl"
volume_mappings:
- "/:/buddy/comedy"
trigger_condition: "ALWAYS"
shell: "BASH"
- pipeline: "Master"
trigger_mode: "ON_EVERY_PUSH"
ref_name: "master"
ref_type: "BRANCH"
priority: "NORMAL"
fail_on_prepare_env_warning: true
trigger_condition: "ALWAYS"
actions:
- action: "NPM - Test"
type: "BUILD"
working_directory: "/buddy/comedy"
docker_image_name: "library/node"
docker_image_tag: "10"
execute_commands:
- "npm ci"
- "npm run validate"
- "npm run coverage"
volume_mappings:
- "/:/buddy/comedy"
trigger_condition: "ALWAYS"
shell: "BASH"
- action: "Codecov"
type: "BUILD"
working_directory: "/buddy/comedy"
docker_image_name: "library/ubuntu"
docker_image_tag: "18.04"
execute_commands:
- "bash <(curl -s https://codecov.io/bash)"
setup_commands:
- "apt-get update && apt-get -y install curl"
volume_mappings:
- "/:/buddy/comedy"
trigger_condition: "ALWAYS"
shell: "BASH"