Skip to content

Build and deploy Hello

The wheel holds only worker.py and a Requires-Dist on virtufin-worker-devkit; the engine installs the dependencies when it loads the worker (see Engines).

virtufin-worker build Hello                   # the wheel -> build/Hello/*.whl
virtufin-worker publish Hello                 # CI does this on push to master
virtufin-worker create Hello --context prod
python3 -m pytest Hello/tests -v

Trigger it with a CloudEvent on wrk.hello.command.<worker_id> whose data is {"name": "foo"}.

What Hello does, its configuration and responses: Hello.