reproducible debian: scheduler: don't rebuild the html index when running in dry-run mode

Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parent 180192b7
......@@ -364,8 +364,9 @@ def rest(scheduling_args, requester, local, suite, arch):
if notify_on_start or artifacts:
irc_msg(info_msg)
from reproducible_html_live_status import generate_schedule
generate_schedule(arch) # update the HTML page
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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment