1
1
pipeline :
2
- # test_node18:
3
- # image: node:18
4
- # pull: true
5
- # secrets: [infura_project_id, alchemy_api_key, etherscan_api_key]
6
- # commands:
7
- # - apt update
8
- # - apt install xxd
9
- # - node -v
10
- # - npm -v
11
- # - npm ci
12
- # - npm run build
13
- # - npm -g install .
14
- # - npm test
15
- # when:
16
- # ref: refs/tags/v*
17
-
18
- test_node16 :
19
- image : node:16
2
+ test_node18 :
3
+ image : node:18
20
4
pull : true
21
5
secrets : [infura_project_id, alchemy_api_key, etherscan_api_key]
22
6
commands :
@@ -31,14 +15,13 @@ pipeline:
31
15
when :
32
16
ref : refs/tags/v*
33
17
34
- test_node14 :
35
- image : node:14
18
+ test_node16 :
19
+ image : node:16
36
20
pull : true
37
21
secrets : [infura_project_id, alchemy_api_key, etherscan_api_key]
38
22
commands :
39
23
- apt update
40
24
- apt install xxd
41
- - npm i -g npm@8
42
25
- node -v
43
26
- npm -v
44
27
- npm ci
@@ -48,8 +31,8 @@ pipeline:
48
31
when :
49
32
ref : refs/tags/v*
50
33
51
- test_node12 :
52
- image : node:12
34
+ test_node14 :
35
+ image : node:14
53
36
pull : true
54
37
secrets : [infura_project_id, alchemy_api_key, etherscan_api_key]
55
38
commands :
@@ -63,6 +46,13 @@ pipeline:
63
46
- npm -g install .
64
47
- npm test
65
48
49
+ code_analysis :
50
+ image : sonarsource/sonar-scanner-cli
51
+ pull : true
52
+ secrets : [sonar_token, sonar_host]
53
+ commands :
54
+ - sonar-scanner -Dsonar.host.url=$SONAR_HOST -Dsonar.branch.name=$DRONE_BRANCH
55
+
66
56
publish_npm :
67
57
image : plugins/npm
68
58
secrets : [npm_token]
@@ -113,7 +103,30 @@ services:
113
103
image : iexechub/poco-chaintest:5.3.2-token-openethereum
114
104
pull : true
115
105
116
- token-sms :
106
+ token-sms-scone :
107
+ image : iexechub/iexec-sms:7.1.0
108
+ pull : true
109
+ environment :
110
+ - TZ=Europe/Paris
111
+ - IEXEC_SMS_BLOCKCHAIN_NODE_ADDRESS=http://token-chain-openethereum:8545
112
+ - IEXEC_HUB_ADDRESS=0xC129e7917b7c7DeDfAa5Fff1FB18d5D7050fE8ca
113
+ - IEXEC_TEE_WORKER_PRE_COMPUTE_IMAGE=docker.io/iexechub/tee-worker-pre-compute:7.1.0-sconify-5.3.15-debug
114
+ - IEXEC_TEE_WORKER_PRE_COMPUTE_FINGERPRINT=9f0f782d6edc611baa23ca0978f555ee58ea70e092640c961e75c25e9e4b0f22
115
+ - IEXEC_TEE_WORKER_PRE_COMPUTE_HEAP_SIZE_GB=4
116
+ - IEXEC_TEE_WORKER_POST_COMPUTE_IMAGE=docker.io/iexechub/tee-worker-post-compute:7.1.1-sconify-5.3.15-debug
117
+ - IEXEC_TEE_WORKER_POST_COMPUTE_FINGERPRINT=face1376b97131e2dc75a556381d47a2e03bed9e1bc11e462471f99d1eefae50
118
+ - IEXEC_TEE_WORKER_POST_COMPUTE_HEAP_SIZE_GB=4
119
+ - IEXEC_IGNORED_SGX_ADVISORIES=INTEL-SA-00161,INTEL-SA-00289,INTEL-SA-00334,INTEL-SA-00381,INTEL-SA-00389,INTEL-SA-00220,INTEL-SA-00270,INTEL-SA-00293,INTEL-SA-00320,INTEL-SA-00329,INTEL-SA-00477
120
+ - IEXEC_SCONE_TOLERATED_INSECURE_OPTIONS=debug-mode,hyperthreading,outdated-tcb
121
+ - IEXEC_SMS_DISPLAY_DEBUG_SESSION=true
122
+ - IEXEC_SCONE_CAS_HOST=foo
123
+ - IEXEC_SMS_IMAGE_LAS_IMAGE=foo
124
+ expose :
125
+ - 13300
126
+ depends_on :
127
+ - token-chain-openethereum
128
+
129
+ token-sms-gramine :
117
130
image : iexechub/iexec-sms:7.1.0
118
131
pull : true
119
132
environment :
@@ -173,7 +186,7 @@ services:
173
186
command : redis-server --appendonly yes
174
187
175
188
token-watcher :
176
- image : iexechub/iexec-market-watcher:5
189
+ image : iexechub/iexec-market-watcher:6.1
177
190
commands :
178
191
- sleep 10
179
192
- cd /app
@@ -190,7 +203,7 @@ services:
190
203
- REDIS_HOST=gateway-redis
191
204
192
205
token-gateway :
193
- image : iexechub/iexec-market-api:5
206
+ image : iexechub/iexec-market-api:6.1
194
207
commands :
195
208
- sleep 10
196
209
- cd /app
0 commit comments