From 544b99ba093d6b8b8d92bfedc678ee077aa75623 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 20 Jul 2016 14:35:45 -0400 Subject: [PATCH] A TODO for later.. --- rida/scheduler/handlers/modules.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rida/scheduler/handlers/modules.py b/rida/scheduler/handlers/modules.py index a8e8a25b..f20d3cc0 100644 --- a/rida/scheduler/handlers/modules.py +++ b/rida/scheduler/handlers/modules.py @@ -77,6 +77,9 @@ def wait(config, session, msg): # inject dist-tag into buildroot srpm = builder.get_disttag_srpm(disttag="%s" % get_rpm_release_from_tag(tag)) task_id = builder.build(artifact_name="module-build-macros", source=srpm) + + # TODO -- this has to go eventually.. otherwise, we can only build one + # module at a time and that just won't scale. builder.wait_task(task_id) artifact = get_artifact_from_srpm(srpm)