Skip to content

Commit

Permalink
scheduler: Add additional parameters for create_job_node
Browse files Browse the repository at this point in the history
It will be useful to add runtime and platform name in node,
as it will help to troubleshoot tests failures, build failures and etc.

Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
  • Loading branch information
nuclearcat authored and JenySadadia committed Dec 29, 2023
1 parent bcf46ec commit eb2b46a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def _stop(self, sub_id):
self._cleanup_paths()

def _run_job(self, job_config, runtime, platform, input_node):
node = self._api_helper.create_job_node(job_config, input_node)
node = self._api_helper.create_job_node(job_config, input_node,
runtime, platform)
job = kernelci.runtime.Job(node, job_config)
job.platform_config = platform
job.storage_config = self._storage_config
Expand Down

0 comments on commit eb2b46a

Please sign in to comment.