forked from jazzzz/etcd-watcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
60 lines (55 loc) · 1.16 KB
/
.gitlab-ci.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
.test:
services:
- name: quay.io/coreos/etcd:v2.0.13
alias: etcd
command:
- -listen-client-urls
- http://0.0.0.0:4001
- -advertise-client-urls
- http://127.0.0.1:4001
variables:
ETCD_HOST: etcd:4001
before_script:
- npm install
script:
- npm run test
test-node-8:
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/node:8
cache:
key: node-8
paths:
- node_modules
extends:
- .test
test-node-10:
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/node:10
cache:
key: node-10
paths:
- node_modules
extends:
- .test
test-node-12:
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/node:12
cache:
key: node-12
paths:
- node_modules
extends:
- .test
test-node-14:
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/node:14
cache:
key: node-14
paths:
- node_modules
extends:
- .test
test-node-16:
image: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/node:16
cache:
key: node-16
paths:
- node_modules
extends:
- .test