Skip to content

Commit 6670ae9

Browse files
authored
Merge branch 'main' into renovate/configure
2 parents dbb9c2b + a3a942b commit 6670ae9

File tree

7 files changed

+46
-54
lines changed

7 files changed

+46
-54
lines changed

.drone.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -180,23 +180,18 @@ steps:
180180
- graphnode
181181

182182
- name: sms
183-
image: iexechub/iexec-sms:7.1.0
183+
image: iexechub/iexec-sms:8.7.0
184184
detach: true
185185
environment:
186-
TZ: Europe/Paris
186+
JAVA_TOOL_OPTIONS: '-Xmx256M'
187187
IEXEC_SMS_BLOCKCHAIN_NODE_ADDRESS: http://bellecour-fork:8545
188188
IEXEC_HUB_ADDRESS: '0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f'
189-
IEXEC_TEE_WORKER_PRE_COMPUTE_IMAGE: docker.io/iexechub/tee-worker-pre-compute:7.1.0-sconify-5.3.15-debug
190-
IEXEC_TEE_WORKER_PRE_COMPUTE_FINGERPRINT: 9f0f782d6edc611baa23ca0978f555ee58ea70e092640c961e75c25e9e4b0f22
191-
IEXEC_TEE_WORKER_PRE_COMPUTE_HEAP_SIZE_GB: 4
192-
IEXEC_TEE_WORKER_POST_COMPUTE_IMAGE: docker.io/iexechub/tee-worker-post-compute:7.1.1-sconify-5.3.15-debug
193-
IEXEC_TEE_WORKER_POST_COMPUTE_FINGERPRINT: face1376b97131e2dc75a556381d47a2e03bed9e1bc11e462471f99d1eefae50
194-
IEXEC_TEE_WORKER_POST_COMPUTE_HEAP_SIZE_GB: 4
195-
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
196-
IEXEC_SCONE_TOLERATED_INSECURE_OPTIONS: debug-mode,hyperthreading,outdated-tcb
197-
IEXEC_SMS_DISPLAY_DEBUG_SESSION: 'true'
198-
IEXEC_SCONE_CAS_HOST: foo
199-
IEXEC_SMS_IMAGE_LAS_IMAGE: foo
189+
IEXEC_SMS_TEE_RUNTIME_FRAMEWORK: scone
190+
IEXEC_SMS_IMAGE_LAS_IMAGE: 'las-image'
191+
IEXEC_TEE_WORKER_PRE_COMPUTE_IMAGE: 'pre-compute-image'
192+
IEXEC_TEE_WORKER_PRE_COMPUTE_FINGERPRINT: 'pre-compute-fingerprint'
193+
IEXEC_TEE_WORKER_POST_COMPUTE_IMAGE: 'post-compute-image'
194+
IEXEC_TEE_WORKER_POST_COMPUTE_FINGERPRINT: 'post-compute-fingerprint'
200195
expose:
201196
- 13300
202197
depends_on:

CHANGELOG.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,30 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.2.1]
6+
7+
### Changed
8+
9+
- Migrated Bellecour subgraph URL to `https://thegraph.iex.ec/...`
10+
11+
## [1.2.0]
12+
13+
### Changed
14+
15+
- Upgraded the iexec dependency to ^8.13.1, which includes:
16+
- Migrated default SMS URL to https://sms.iex.ec.
17+
- Migrated from the deprecated SMS apps secrets endpoint.
18+
519
## [1.1.1]
620

7-
## Changed
21+
### Changed
822

923
- Update builder dashboard URL in some error messages related to `sendEmail()` method
1024
- Use user specific workerpool orders if `useVoucher` is set to `true`
1125

1226
## [1.1.0]
1327

14-
## Added
28+
### Added
1529

1630
- support for iExec voucher in `sendEmail()` via `useVoucher` option
1731

package-lock.json

Lines changed: 7 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iexec/web3mail",
3-
"version": "1.1.1",
3+
"version": "1.2.1",
44
"description": "This product enables users to confidentially store data–such as mail address, documents, personal information ...",
55
"main": "./dist/index.js",
66
"type": "module",
@@ -52,7 +52,7 @@
5252
"buffer": "^6.0.3",
5353
"ethers": "^6.13.2",
5454
"graphql-request": "^6.1.0",
55-
"iexec": "^8.12.0",
55+
"iexec": "^8.13.1",
5656
"kubo-rpc-client": "^4.1.1",
5757
"yup": "^1.1.1"
5858
},

src/config/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const WEB3_MAIL_DAPP_ADDRESS = 'web3mail.apps.iexec.eth';
22
export const PROD_WORKERPOOL_ADDRESS = 'prod-v8-bellecour.main.pools.iexec.eth';
33
export const DATAPROTECTOR_SUBGRAPH_ENDPOINT =
4-
'https://thegraph-product.iex.ec/subgraphs/name/bellecour/dataprotector-v2';
4+
'https://thegraph.iex.ec/subgraphs/name/bellecour/dataprotector-v2';
55
export const MAX_DESIRED_DATA_ORDER_PRICE = 0;
66
export const MAX_DESIRED_APP_ORDER_PRICE = 0;
77
export const MAX_DESIRED_WORKERPOOL_ORDER_PRICE = 0;

src/web3mail/sendEmail.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,6 @@ export const sendEmail = async ({
282282
tag: ['tee', 'scone'],
283283
workerpool: vWorkerpoolAddressOrEns,
284284
params: {
285-
iexec_developer_logger: true,
286285
iexec_secrets: {
287286
1: requesterSecretId,
288287
},

tests/docker-compose.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,29 @@ services:
99
ports:
1010
- 8545:8545
1111
healthcheck:
12-
test: nc -z 0.0.0.0 8545
12+
test: (echo >/dev/tcp/$(hostname)/8545) &>/dev/null
1313
interval: 10s
1414
timeout: 5s
1515
retries: 3
1616
start_period: 30s
1717

1818
sms:
19-
image: iexechub/iexec-sms:7.1.0
19+
image: iexechub/iexec-sms:8.7.0
2020
restart: unless-stopped
2121
environment:
22-
TZ: Europe/Paris
22+
JAVA_TOOL_OPTIONS: '-Xmx256M'
2323
IEXEC_SMS_BLOCKCHAIN_NODE_ADDRESS: http://bellecour-fork:8545
2424
IEXEC_HUB_ADDRESS: '0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f'
25-
IEXEC_TEE_WORKER_PRE_COMPUTE_IMAGE: docker.io/iexechub/tee-worker-pre-compute:7.1.0-sconify-5.3.15-debug
26-
IEXEC_TEE_WORKER_PRE_COMPUTE_FINGERPRINT: 9f0f782d6edc611baa23ca0978f555ee58ea70e092640c961e75c25e9e4b0f22
27-
IEXEC_TEE_WORKER_PRE_COMPUTE_HEAP_SIZE_GB: 4
28-
IEXEC_TEE_WORKER_POST_COMPUTE_IMAGE: docker.io/iexechub/tee-worker-post-compute:7.1.1-sconify-5.3.15-debug
29-
IEXEC_TEE_WORKER_POST_COMPUTE_FINGERPRINT: face1376b97131e2dc75a556381d47a2e03bed9e1bc11e462471f99d1eefae50
30-
IEXEC_TEE_WORKER_POST_COMPUTE_HEAP_SIZE_GB: 4
31-
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
32-
IEXEC_SCONE_TOLERATED_INSECURE_OPTIONS: debug-mode,hyperthreading,outdated-tcb
33-
IEXEC_SMS_DISPLAY_DEBUG_SESSION: 'true'
34-
IEXEC_SCONE_CAS_HOST: foo
35-
IEXEC_SMS_IMAGE_LAS_IMAGE: foo
25+
IEXEC_SMS_TEE_RUNTIME_FRAMEWORK: scone
26+
IEXEC_SMS_IMAGE_LAS_IMAGE: 'las-image'
27+
IEXEC_TEE_WORKER_PRE_COMPUTE_IMAGE: 'pre-compute-image'
28+
IEXEC_TEE_WORKER_PRE_COMPUTE_FINGERPRINT: 'pre-compute-fingerprint'
29+
IEXEC_TEE_WORKER_POST_COMPUTE_IMAGE: 'post-compute-image'
30+
IEXEC_TEE_WORKER_POST_COMPUTE_FINGERPRINT: 'post-compute-fingerprint'
3631
ports:
3732
- 13300:13300
33+
healthcheck:
34+
test: curl -f localhost:13300/actuator/health || exit 1
3835
depends_on:
3936
bellecour-fork:
4037
condition: service_healthy
@@ -244,7 +241,7 @@ services:
244241
graphnode:
245242
condition: service_healthy
246243
sms:
247-
condition: service_started
244+
condition: service_healthy
248245
market-watcher:
249246
condition: service_started
250247
market-api:

0 commit comments

Comments
 (0)