CI: Minor fixes in ci scripts

This commit is contained in:
Max K 2024-06-07 00:51:37 +02:00
parent ce244e126d
commit eb72c12b31

View File

@ -211,12 +211,15 @@ class CiSettings:
):
res[job] = job_config
add_parents = []
for job in list(res):
parent_jobs = CI_CONFIG.get_job_parents(job)
for parent_job in parent_jobs:
if parent_job not in res:
add_parents.append(parent_job)
print(f"Job [{job}] requires [{parent_job}] - add")
res[parent_job] = job_configs[parent_job]
for job in add_parents:
res[job] = job_configs[job]
for job, job_config in res.items():
batches = []