Skip to content

Commit

Permalink
src/scheduler: pass input node debug info to the generated job nodes
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Cañuelo <ricardo.canuelo@collabora.com>
  • Loading branch information
Ricardo Cañuelo committed Jan 29, 2024
1 parent 63b4bcb commit a2f0412
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ def _stop(self, sub_id):
def _run_job(self, job_config, runtime, platform, input_node):
node = self._api_helper.create_job_node(job_config, input_node,
runtime, platform)
if 'debug' in input_node:
node['debug'] = input_node['debug']
job = kernelci.runtime.Job(node, job_config)
job.platform_config = platform
job.storage_config = self._storage_config
Expand Down

0 comments on commit a2f0412

Please sign in to comment.