Run thermos jobs using json client.

Added an extra field to JobJson, ExecutorDataFile, that holds
the path to the json file representing the executor configuration
data.
Added a new example job json file (examples/job_thermos.json) that
is to be passed to the json client along with the config file to
run a thermos job.
This commit is contained in:
Pradyumna Kaushik 2018-06-21 18:28:51 -07:00
parent 67ec630430
commit db69f0268d
2 changed files with 45 additions and 10 deletions

11
examples/job_thermos.json Normal file
View file

@ -0,0 +1,11 @@
{
"name": "hello_world_from_gorealis",
"cpu": 1.0,
"ram_mb": 64,
"disk_mb": 100,
"executor": "thermos",
"execDataFile": "examples/thermos_payload.json",
"service": true,
"ports": 1,
"instances": 1
}