You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+52-9Lines changed: 52 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ To support:
56
56
|`IEXEC_SMS_ADMIN_STORAGE_LOCATION`| Storage location where to persist replicated backups. It must be an absolute directory path. | String |`/backup`|`/backup`|
57
57
|`IEXEC_CHAIN_ID`| Chain ID of the blockchain network to connect. | Positive integer |`134`|`134`|
58
58
|`IEXEC_IS_SIDECHAIN`| Define whether iExec on-chain protocol is built on top of token (`false`) or native currency (`true`). | Boolean |`true`|`true`|
59
-
|`IEXEC_SMS_BLOCKCHAIN_NODE_ADDRESS`| URL to connect to the blockchain node. | URL |`https://bellecour.iex.ec`|`https://bellecour.iex.ec`|
59
+
|`IEXEC_BLOCKCHAIN_NODE_ADDRESS`| URL to connect to the blockchain node. | URL |`https://bellecour.iex.ec`|`https://bellecour.iex.ec`|
60
60
|`IEXEC_HUB_ADDRESS`| Proxy contract address to interact with the iExec on-chain protocol. | String |`0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f`|`0x3eca1B216A7DF1C7689aEb259fFB83ADFB894E7f`|
61
61
|`IEXEC_BLOCK_TIME`| Duration between consecutive blocks on the blockchain network. | String |`PT5S`|`PT5S`|
62
62
|`IEXEC_GAS_PRICE_MULTIPLIER`| Transactions will be sent with `networkGasPrice * IEXEC_GAS_PRICE_MULTIPLIER`. | Float |`1.0`|`1.0`|
@@ -68,14 +68,57 @@ To support:
68
68
|`IEXEC_TEE_CHALLENGE_CLEANUP_CRON`| Cron expression to configure TEE challenges cleanup policy. | String |`@hourly`|`@hourly`|
69
69
|`IEXEC_TEE_CHALLENGE_CLEANUP_MAX_BATCH_SIZE`| Max number of TEE challenges whose missing deadline could be set at a given time. | Integer |`500`|`500`|
70
70
|`IEXEC_TEE_CHALLENGE_CLEANUP_RETENTION_DURATION`| Retention duration when setting missing final deadline. | Duration |`P5D`|`P5D`|
71
-
|`IEXEC_TEE_WORKER_PRE_COMPUTE_IMAGE`| TEE enabled OCI image name for worker pre-compute stage of TEE tasks. | String |||
72
-
|`IEXEC_TEE_WORKER_PRE_COMPUTE_FINGERPRINT`| Fingerprint (aka mrenclave) of the TEE enabled worker pre-compute image. | String |||
73
-
|`IEXEC_TEE_WORKER_PRE_COMPUTE_HEAP_SIZE_GB`| Required heap size for a worker pre-compute enclave (in Giga Bytes). | Positive integer |`3`|`3`|
74
-
|`IEXEC_TEE_WORKER_PRE_COMPUTE_ENTRYPOINT`| Command executed when starting a container from the TEE enabled worker pre-compute image. | String |`java -jar /app/app.jar`|`/bin/bash /apploader.sh`|
75
-
|`IEXEC_TEE_WORKER_POST_COMPUTE_IMAGE`| TEE enabled OCI image name for worker post-compute stage of TEE tasks. | String |||
76
-
|`IEXEC_TEE_WORKER_POST_COMPUTE_FINGERPRINT`| Fingerprint (aka mrenclave) of the TEE enabled worker post-compute image. | String |||
77
-
|`IEXEC_TEE_WORKER_POST_COMPUTE_HEAP_SIZE_GB`| Required heap size for a worker post-compute enclave (in Giga Bytes). | Positive integer |`3`|`3`|
78
-
|`IEXEC_TEE_WORKER_POST_COMPUTE_ENTRYPOINT`| Command executed when starting a container from the TEE enabled worker post-compute image. | String |`java -jar /app/app.jar`|`/bin/bash /apploader.sh`|
71
+
|`TEE_WORKER_PIPELINES_0_VERSION`| Worker pipeline version | String |`v5`|`v5`|
72
+
|`TEE_WORKER_PIPELINES_0_PRECOMPUTE_IMAGE`| TEE enabled OCI image name for worker pre-compute stage | String |||
73
+
|`TEE_WORKER_PIPELINES_0_PRECOMPUTE_FINGERPRINT`| Fingerprint (mrenclave) of the TEE enabled worker pre-compute image | String |||
74
+
|`TEE_WORKER_PIPELINES_0_PRECOMPUTE_HEAPSIZE`| Required heap size for a worker pre-compute enclave using units like KB, MB, GB | DataSize |`3GB`|`3GB`|
75
+
|`TEE_WORKER_PIPELINES_0_PRECOMPUTE_ENTRYPOINT`| Command executed when starting a container from the TEE enabled worker pre-compute image | String |`java -jar /app/app.jar`|`/bin/bash /apploader.sh`|
76
+
|`TEE_WORKER_PIPELINES_0_POSTCOMPUTE_IMAGE`| TEE enabled OCI image name for worker post-compute stage | String |||
77
+
|`TEE_WORKER_PIPELINES_0_POSTCOMPUTE_FINGERPRINT`| Fingerprint (mrenclave) of the TEE enabled worker post-compute image | String |||
78
+
|`TEE_WORKER_PIPELINES_0_POSTCOMPUTE_HEAPSIZE`| Required heap size for a worker post-compute enclave using units like KB, MB, GB | DataSize |`3GB`|`3GB`|
79
+
|`TEE_WORKER_PIPELINES_0_POSTCOMPUTE_ENTRYPOINT`| Command executed when starting a container from the TEE enabled worker post-compute image | String |`java -jar /app/app.jar`|`/bin/bash /apploader.sh`|
80
+
81
+
## Heap Size Configuration
82
+
The heap size configuration supports the following units:
83
+
84
+
-**B** for bytes
85
+
-**KB** for kilobytes
86
+
-**MB** for megabytes
87
+
-**GB** for gigabytes
88
+
-**TB** for terabytes
89
+
90
+
### Example Values
91
+
-`3GB`
92
+
-`4096MB`
93
+
-`1TB`
94
+
95
+
### Conversion Table
96
+
| Unit | Bytes Equivalent |
97
+
|------|-----------------------------|
98
+
| 1 KB | 1,024 B |
99
+
| 1 MB | 1,024 KB (1,048,576 B) |
100
+
| 1 GB | 1,024 MB (1,073,741,824 B) |
101
+
| 1 TB | 1,024 GB (1,099,511,627,776 B) |
102
+
103
+
### Required Pipeline Configuration
104
+
105
+
The TEE worker pipeline configurations (`application-gramine.yml` and `application-scone.yml`) **no longer provide default values** for pre-compute and post-compute settings.
106
+
The configuration must be set by SMS operator.
107
+
108
+
#### **Example Configuration (to be provided by SMS operator)**
0 commit comments