From af6565ccc3c88cc99bc73e1df61d1878d4d51a74 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Mon, 16 Feb 2015 23:53:36 +0100 Subject: reproducible: fixup previous commit for some reason the `python3 -c 'import reproducible_html_indexes'` does not work. Call directly the script: losing 4 seconds is not a big deal... --- bin/reproducible_schedule_on_demand.sh | 2 +- bin/reproducible_scheduler.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/reproducible_schedule_on_demand.sh b/bin/reproducible_schedule_on_demand.sh index b32061b9..5e3c56e0 100755 --- a/bin/reproducible_schedule_on_demand.sh +++ b/bin/reproducible_schedule_on_demand.sh @@ -56,7 +56,7 @@ MESSAGE="$TOTAL package(s) manually (re-)scheduled for immediate testing: ${PACK # finally schedule_packages -python3 -c "from reproducible_html_indexes import build_page; build_page('scheduled')" +/srv/jenkins/bin/reproducible_html_indexes.py echo echo "$MESSAGE" kgb-client --conf /srv/jenkins/kgb/debian-reproducible.conf --relay-msg "$MESSAGE" diff --git a/bin/reproducible_scheduler.sh b/bin/reproducible_scheduler.sh index d033ca3e..e31261d5 100755 --- a/bin/reproducible_scheduler.sh +++ b/bin/reproducible_scheduler.sh @@ -152,7 +152,7 @@ schedule_packages() { update_apt COUNT_SCHEDULED=$(sqlite3 ${PACKAGES_DB} 'SELECT count(name) FROM sources_scheduled') if [ $COUNT_SCHEDULED -gt 250 ] ; then - python3 -c "from reproducible_html_indexes import build_page; build_page('scheduled')" + /srv/jenkins/bin/reproducible_html_indexes.py echo "$COUNT_SCHEDULED packages scheduled, nothing to do." exit 0 else @@ -210,7 +210,7 @@ MESSAGE="$MESSAGE and $AMOUNT packages with the same version again, for a total # finally schedule_packages -python3 -c "from reproducible_html_indexes import build_page; build_page('scheduled')" +/srv/jenkins/bin/reproducible_html_indexes.py echo echo "$MESSAGE" kgb-client --conf /srv/jenkins/kgb/debian-reproducible.conf --relay-msg "$MESSAGE" -- cgit v1.2.3-70-g09d2