Skip to content

Commit eb2b46a

Browse files
nuclearcatJenySadadia
authored andcommitted
scheduler: Add additional parameters for create_job_node
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>
1 parent bcf46ec commit eb2b46a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/scheduler.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ def _stop(self, sub_id):
7272
self._cleanup_paths()
7373

7474
def _run_job(self, job_config, runtime, platform, input_node):
75-
node = self._api_helper.create_job_node(job_config, input_node)
75+
node = self._api_helper.create_job_node(job_config, input_node,
76+
runtime, platform)
7677
job = kernelci.runtime.Job(node, job_config)
7778
job.platform_config = platform
7879
job.storage_config = self._storage_config

0 commit comments

Comments
 (0)