Skip to content
This repository was archived by the owner on Jan 27, 2022. It is now read-only.

Commit 4a3c20f

Browse files
committed
Update workload tutorial
Signed-off-by: Rajeev Ranjan <[email protected]>
1 parent 8feab97 commit 4a3c20f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/workload-tutorial/README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,11 @@ will be created next in [Phase 2](#phase2).
183183
ENDMACRO()
184184
```
185185

186-
* Update the `workloads` config in `$TCF_HOME/config/singleton_enclave_config.toml` to include the new
187-
workload. The work orders matching these workload ids will be processed by the enclave manager. The
188-
enclaves should be built with matching workloads. After update, the configuration should look like:
186+
* Update the `WORKLOADS` build argument in docker-compose files if running a worker pool setup using dockers. The work order processing enclave (WPE) should be built with workloads the worker pool supports. After update, the argument should look like:
189187
```bash
190-
workloads = "echo-result,heart-disease-eval,inside-out-eval,simple-wallet,hello_world"
188+
WORKLOADS=echo-result;heart-disease-eval;inside-out-eval;simple-wallet;hello-world
191189
```
190+
You could have any number (one or more) of workloads in this list. This is especially useful when multiple worker pools are running together and there is a workload isolation with each pool running different set of workloads. Refer [avalon-pool-combo.yaml](../../docker/compose/avalon-pool-combo.yaml) for mutiple pools.
192191

193192
* Change to the top-level Avalon source repository directory, `$TCF_HOME`,
194193
and rebuild the framework (see [$TCF_HOME/BUILD.md](../../BUILD.md)).

0 commit comments

Comments
 (0)