-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
118 lines (106 loc) · 2.51 KB
/
.drone.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
matrix:
NODE_TAG:
- 14
- 12
pipeline:
test_commit:
image: node:${NODE_TAG}
pull: true
commands:
- apt update
- apt install xxd
- node -v
- npm -v
- npm install
- ./node_modules/.bin/babel --version
- npm run build
- npm -g install .
- npm test
when:
matrix:
NODE_TAG: 12
test_tag:
image: node:${NODE_TAG}
pull: true
commands:
- apt update
- apt install xxd
- node -v
- npm -v
- npm install
- ./node_modules/.bin/babel --version
- npm run build
- npm -g install .
- npm test
when:
ref: [refs/tags/v*]
npm_v6:
image: plugins/npm
secrets: [npm_password]
username: sulliwane
email: sulliwane@gmail.com
tag: latest
when:
ref: [refs/tags/v6*]
matrix:
NODE_TAG: 12
dockerhub_v6:
image: plugins/docker
repo: iexechub/iexec-sdk
secrets: [docker_username, docker_password]
tags:
- latest
- ${DRONE_TAG##v}
when:
ref: [refs/tags/v6*]
matrix:
NODE_TAG: 12
services:
token-chain:
image: iexechub/poco-chaintest:5.3.0-ganache-update-token
pull: true
native-chain:
image: iexechub/poco-chaintest:5.3.0-ganache-update-native
pull: true
token-chain-1s:
image: iexechub/poco-chaintest:5.3.0-ganache-update-token-1s
pull: true
token-chain-parity:
image: 'iexechub/poco-chaintest:5.3.0-token-parity'
token-sms:
image: iexechub/iexec-sms:1.0.0
environment:
- IEXEC_SMS_BLOCKCHAIN_NODE_ADDRESS=http://token-chain-parity:8545
- IEXEC_HUB_ADDRESS=0xBF6B2B07e47326B7c8bfCb4A5460bef9f0Fd2002
- IEXEC_SCONE_CAS_HOST=cas
- SCONE_CAS_ADDR=cas:18765
- SCONE_LAS_ADDR=las:18766
- SCONE_CONFIG_ID=s1/iexec-sms
- SCONE_HEAP=3G
- SCONE_LOG=6
- SCONE_VERSION=1
- SCONE_SYSLIBS=1
expose:
- '15000'
- '15443'
depends_on:
- token-chain-parity
token-result-proxy-mongo:
image: mongo:4-xenial
ipfs:
image: ipfs/go-ipfs:v0.4.20
container_name: ipfs
token-result-proxy:
image: iexechub/iexec-result-proxy:1.0.0
environment:
- IEXEC_PRIVATE_CHAIN_ADDRESS=http://token-chain-parity:8545
- IEXEC_PUBLIC_CHAIN_ADDRESS=http://token-chain-parity:8545
- MONGO_HOST=token-result-proxy-mongo
- MONGO_PORT=27017
- IEXEC_IPFS_HOST=ipfs
expose:
- '18089'
depends_on:
- token-chain-parity
- token-result-proxy-mongo
- ipfs