From 84e016be0f2f4ad18f668dad9f6fb51917402c48 Mon Sep 17 00:00:00 2001 From: Christophe Monniez Date: Mon, 3 Apr 2023 15:48:09 +0200 Subject: [PATCH] [IMP] runbot: add a frontend button to view batch in backend --- runbot/controllers/frontend.py | 2 +- runbot/templates/batch.xml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/runbot/controllers/frontend.py b/runbot/controllers/frontend.py index 34d07177..3f9a30ef 100644 --- a/runbot/controllers/frontend.py +++ b/runbot/controllers/frontend.py @@ -616,7 +616,7 @@ class Runbot(Controller): _logger.info('Redirecting to %s', run_url) return werkzeug.utils.redirect(run_url) - @route(['/runbot/parse_log/'], type='http', auth='user', website=True, sitemap=False) + @route(['/runbot/parse_log/'], type='http', auth='user', sitemap=False) def parse_log(self, ir_log, **kwargs): request.env['runbot.build.error']._parse_logs(ir_log) return werkzeug.utils.redirect('/runbot/build/%s' % ir_log.build_id.id) diff --git a/runbot/templates/batch.xml b/runbot/templates/batch.xml index 1e74b35f..8c6cf035 100644 --- a/runbot/templates/batch.xml +++ b/runbot/templates/batch.xml @@ -10,6 +10,10 @@ Bundle +   + + +