summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-10 21:03:34 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-10 21:03:34 +0200
commite4c5393db40f2943c79090463d177d4ecaad02f2 (patch)
tree0c9504706e3659737c819f8471801d5661dabd5a /bin
parentfcab5b0c5782dd492bb48e667ccc6784b1bd9831 (diff)
downloadjenkins.debian.net-e4c5393db40f2943c79090463d177d4ecaad02f2.tar.xz
reproducible: call generate_schedule(arch) everywhere
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_remote_scheduler.py2
-rwxr-xr-xbin/reproducible_scheduler.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/reproducible_remote_scheduler.py b/bin/reproducible_remote_scheduler.py
index 25341f0d..28e58b3e 100755
--- a/bin/reproducible_remote_scheduler.py
+++ b/bin/reproducible_remote_scheduler.py
@@ -261,4 +261,4 @@ if not (local and requester == "jenkins maintenance job") and len(ids) != 0:
if not dry_run:
irc_msg(message)
-generate_schedule() # the html page
+generate_schedule(arch) # update the html page
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 86073ec0..dc4e947d 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -448,7 +448,7 @@ def scheduler(arch):
total = int(query_db(query.format(arch=arch))[0][0])
log.info('Currently scheduled packages in all suites: ' + str(total))
if total > MAXIMUM[arch]:
- generate_schedule() # from reproducible_html_indexes
+ generate_schedule(arch) # from reproducible_html_indexes
log.info(str(total) + ' packages already scheduled' +
', only scheduling new versions.')
empty_pkgs = {}
@@ -491,7 +491,7 @@ def scheduler(arch):
log.info('### Suite ' + suite + ' done ###')
log.info('==============================================================')
# update the scheduled page
- generate_schedule() # from reproducible_html_indexes
+ generate_schedule(arch) # from reproducible_html_indexes
# build the kgb message text
if arch != 'armhf':
message = 'Scheduled in ' + '+'.join(SUITES) + ' (' + arch + '): '