-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwercker.yml
47 lines (39 loc) · 1.14 KB
/
wercker.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
box: node:6.11.1-slim
build:
steps:
- script:
code: |
echo `pwd`
- npm-install
- script:
name: echo nodejs information
code: |
echo "node version $(node -v) running"
echo "npm version $(npm -v) running"
- internal/docker-push:
username: $USERNAME
password: $PASSWORD
cmd: node /pipeline/source/app.js
repository: ta9846/k8s-webchat
tag: thiru-web-chat
ports: "8080"
registry: https://hub.docker.com
dev:
steps:
- script:
code: |
npm config set proxy http://www-proxy.us.oracle.com:80
npm config set http_proxy http://www-proxy.us.oracle.com:80
npm config set https_proxy http://www-proxy.us.oracle.com:80
echo "USERNAME: $USERNAME"
echo "X_USERNAME: $X_USERNAME"
- npm-install
- internal/docker-push:
disable-sync: true
username: $USERNAME
password: $PASSWORD
cmd: node /pipeline/source/app.js
repository: ta9846/webchat
tag: wercker-demo-30-aug-17
ports: "8080"
registry: https://hub.docker.com