forked from shippableSamples/sample_node_postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshippable.yml
More file actions
65 lines (53 loc) · 1.01 KB
/
shippable.yml
File metadata and controls
65 lines (53 loc) · 1.01 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
language: node_js
# Version number
node_js:
- 0.12
- 0.11
services:
- postgres
env:
global:
- FO1=FUBU
- FO2=BUBU
- BOO=GUBU
build:
# pre_ci:
# - docker build --rm -t=shippabledocker/ .
pre_ci_boot:
image_name: drydock/u12nodpls
image_tag: prod
pull: true
env: FOO=BAR
options: '--privileged=true '
ci:
- ps -eax
- ls -al
- echo $FO1 and $FO2 and $FOO
# post_ci:
# - docker build --rm -t=shippabledocker/vidya_sample_node3 .
# - docker push shippabledocker/vidya_sample_node3
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
hub:
- integrationName: "shippable-docker"
type: docker
branches:
only:
- master