Skip to content
......@@ -15,7 +15,7 @@ cgitb.enable()
def debug_info():
# Debug info, to be removed once ready to go.
print()
print('WARNING: This endpoint is still a WORK IN PROGRESS. This means that the option details can change, and it will not commit any change.')
print('WARNING: This endpoint is still a WORK IN PROGRESS. This means that the option details may change without notice.')
print('You are aunthenticated as: {}'.format(user))
print(cgi.FieldStorage())
......@@ -82,7 +82,6 @@ def main(args):
cmd = (
'/srv/jenkins/bin/reproducible_remote_scheduler.py',
*args,
'--dry-run',
'--architecture', a,
'--suite', s,
*form.getlist('pkg'),
......
......@@ -511,8 +511,6 @@ if [ "$HOSTNAME" = "$MAINNODE" ] && [ $(date -u +%H) -eq 0 ] ; then
if [ "$(dirname $PROBLEM)" = "/var/log/jenkins" ] ; then
if [ "$(basename $PROBLEM)" = "reproducible-diskspace-issues.log" ]; then
echo "diskspace issues should always be investigated." > $TMPFILE
elif [ "$(basename $PROBLEM)" != "postgresql-9.6-main.log " ]; then
echo "A few entries per day are normal, a few dozens or hundreds probably not." > $TMPFILE
fi
if grep -q https $PROBLEM ; then
echo "$(grep -c https $PROBLEM) entries found:"
......
......@@ -364,9 +364,12 @@ def rest(scheduling_args, requester, local, suite, arch):
if notify_on_start or artifacts:
irc_msg(info_msg)
if not dry_run:
from reproducible_html_live_status import generate_schedule
generate_schedule(arch) # update the HTML page
# Takes way too much time atm (even minutes in case of high load) and that
# page is generated every ~half hour anyway.
# Also this requires extra privileges to www-data, for the web scheduler.
#if not dry_run:
# from reproducible_html_live_status import generate_schedule
# generate_schedule(arch) # update the HTML page
def main():
scheduling_args, requester, local, suites, archs = parse_args()
......