[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: update more index pages directly after build
Holger Levsen
holger at moszumanska.debian.org
Wed Mar 11 23:01:38 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 990c52ab78ac7f79e3aee514eb8a3b58191b7cbb
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Mar 11 23:59:37 2015 +0100
reproducible: update more index pages directly after build
---
bin/reproducible_build.sh | 4 ++++
bin/reproducible_scheduler.py | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index d1575c9..0746672 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -43,6 +43,10 @@ update_db_and_html() {
echo
echo "Successfully updated the database and updated $REPRODUCIBLE_URL/rb-pkg/${SUITE}/$SRCPACKAGE.html"
echo
+ python3 -c "from reproducible_html_indexes import build_page; \
+ build_page('scheduled'); \
+ build_page('last_24h', suite=\"$SUITE\", arch=\"$ARCH\"); \
+ build_page('last_48h', suite=\"$SUITE\", arch=\"$ARCH\")"
}
call_debbindiff() {
diff --git a/bin/reproducible_scheduler.py b/bin/reproducible_scheduler.py
index 6f5cdb9..e0705f7 100755
--- a/bin/reproducible_scheduler.py
+++ b/bin/reproducible_scheduler.py
@@ -299,7 +299,6 @@ if __name__ == '__main__':
call_apt_update(suite)
overall = int(query_db('SELECT count(*) FROM schedule')[0][0])
if overall > 250:
- build_page('scheduled') # from reproducible_html_indexes
log.info(str(overall) + ' packages already scheduled, nothing to do.')
sys.exit()
log.info(str(overall) + ' packages already scheduled, scheduling some more...')
--
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