forked from samplesacttest/sample_node_gcr
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathshippable.yml
More file actions
90 lines (74 loc) · 1.41 KB
/
shippable.yml
File metadata and controls
90 lines (74 loc) · 1.41 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Language setting
language: node_js
# Version number
node_js:
- "0.12"
#- "0.11"
# -# "5.0"
git:
submodules: false
#services:
# - elasticsearch
#- couchdb
#- rethinkdb
#- elasticsearch
# - memcached
# - neo4j
#- mongodb
env:
global:
- FOO=FUBU
- FO1=BUBU
- BOO=GUBU
build:
pre_ci:
- docker build --rm -t=quay.io/vidyar/beta-sample-img-app .
pre_ci_boot:
image_name: quay.io/vidyar/beta-sample-img-app
image_tag: latest
pull: false
options: '--privileged=false --net=bridge -e FOO=true -e BOO=false'
ci:
- ps -eax
- ls -al
- echo $FOO
- npm install
- grunt
post_ci:
- docker push quay.io/vidyar/beta-sample-img-app
smoke_test:
- sudo ls /
deploy:
pre_build:
- ls
- ls -al
integrations:
notification:
- integrationName: "slack-pvt"
type: slack
recipients:
- pvt-channel
branches:
only:
- master
on_start: always
on_success: always
on_failure: always
on_pull_request: always
type: email
recipients:
- vidya@shippable.com
- buildsampletest@gmail.com
branches:
only:
- master
on_start: always
on_success: always
on_failure: always
on_pull_request: always
hub:
- integrationName: "quay-vr"
type: "quay.io"
branches:
only:
- master