summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-11 23:59:37 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-11 23:59:37 +0100
commit990c52ab78ac7f79e3aee514eb8a3b58191b7cbb (patch)
treef7d936765c5bf205f4a702fe332b8e6d93e5fea9
parent64f9202182ccf0b027ec533046734f9012b6f807 (diff)
downloadjenkins.debian.net-990c52ab78ac7f79e3aee514eb8a3b58191b7cbb.tar.xz
reproducible: update more index pages directly after build
-rwxr-xr-xbin/reproducible_build.sh4
-rwxr-xr-xbin/reproducible_scheduler.py1
2 files changed, 4 insertions, 1 deletions
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...')