expose supervisor tasks that are fully self-contained fuzzing tasks in the service (#474)

Exposes the functionality added in #454 to the service & CLI.

Fixes #439
This commit is contained in:
bmc-msft
2021-01-28 19:01:59 -05:00
committed by GitHub
parent 14fc1ca51f
commit a46f7b4193
7 changed files with 65 additions and 33 deletions

View File

@ -828,19 +828,8 @@ class Tasks(Endpoint):
lambda: [str(x.job_id) for x in self.onefuzz.jobs.list()],
)
if target_env is None:
target_env = {}
if tags is None:
tags = {}
if target_options is None:
target_options = []
if supervisor_options is None:
supervisor_options = []
if supervisor_env is None:
supervisor_env = {}
if prereq_tasks is None:
prereq_tasks = []
containers_submit = []
for (container_type, container) in containers: