From 990c52ab78ac7f79e3aee514eb8a3b58191b7cbb Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 11 Mar 2015 23:59:37 +0100 Subject: 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 d1575c9f..07466720 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 6f5cdb97..e0705f72 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...') -- cgit v1.2.3-70-g09d2