OTS provides Entry Points that facilitate the use of custom distribution models in OTS. This documents the supported extensions.
A distribution model is the means by which OTS distributes the Tests to the workers.
There are two distribution models provided by OTS as standard.
This is `single_task` mode. All test packages will be tested on a single Worker
In `perpackage` mode each test package is undertaken as a separate Task. The intention is that with a suitable farm the Workers will run the Tasks in parallel.
`distribution_model` is an OTS option and hence selected at run time as an input parameter.
An Entry Point available to OTS with the key "allocator" and the name as selected by the `distribution_model` will get loaded and used for the Task distribution for that Testrun.
A template is provided here. Now it's over to you to satisfy the documented interfaces and install with your preferred packaging tool.