[Qa-jenkins-scm] [jenkins.debian.net] 01/05: reproducible: only update the schedule page if nothing to schedule. run scheduler four times per hour.

Holger Levsen holger at moszumanska.debian.org
Wed Mar 11 21:58:11 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 95cb5f234f8a94a510c6388658243bec5c8e1d06
Author: Holger Levsen <holger at layer-acht.org>
Date:   Wed Mar 11 22:25:20 2015 +0100

    reproducible: only update the schedule page if nothing to schedule. run scheduler four times per hour.
---
 bin/reproducible_scheduler.py | 5 ++---
 job-cfg/reproducible.yaml     | 2 +-
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index d64555a..45f5f3f 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -292,12 +292,11 @@ def scheduler():
 
 if __name__ == '__main__':
     overall = int(query_db('SELECT count(*) FROM schedule')[0][0])
-    if overall > 400:
+    if overall > 250:
         build_page('scheduled')  # from reproducible_html_indexes
         log.info(str(overall) + ' packages already scheduled, nothing to do.')
         sys.exit()
-    else:
-        log.info(str(overall) + ' packages already scheduled, scheduling some more...')
+    log.info(str(overall) + ' packages already scheduled, scheduling some more...')
     for suite in SUITES:
         call_apt_update(suite)
         update_sources_tables(suite)
diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml
index c2a2acc..6d7277e 100644
--- a/job-cfg/reproducible.yaml
+++ b/job-cfg/reproducible.yaml
@@ -233,7 +233,7 @@
             my_recipients: 'qa-jenkins-scm at lists.alioth.debian.org'
         - '{name}_scheduler':
             my_description: 'Schedule packages to be tested for reproducibility.'
-            my_timed: '42 * * * *'
+            my_timed: '11,23,42,52 * * * *'
             my_shell: '/srv/jenkins/bin/reproducible_scheduler.py'
             my_recipients: 'qa-jenkins-scm at lists.alioth.debian.org'
         - '{name}_html_graphs':

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list