Overriding tgrid URL for master web status
The change in r2143 changed so we're reusing Chromium scripts for setting up the web status. However Chrome doesn't use the tgrid page it seems (they put the Console page on that URL instead) but we need it for our LKGR parsing. BUG=None TEST=Tested on local master. Review URL: https://webrtc-codereview.appspot.com/541004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@2146 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -20,6 +20,7 @@ from buildbot.scheduler import Scheduler
|
||||
from buildbot.schedulers import timed
|
||||
from buildbot.status import html
|
||||
from buildbot.status import mail
|
||||
from buildbot.status.web import grid
|
||||
from buildbot.steps import shell
|
||||
|
||||
# These modules come from scripts, which must be in the PYTHONPATH.
|
||||
@@ -398,6 +399,9 @@ master_utils.AutoSetupMaster(c, ActiveMaster, mail_notifier=False,
|
||||
enable_http_status_push=ActiveMaster.is_production_host)
|
||||
|
||||
####### STATUS TARGETS
|
||||
# Override the tgrid URL since we're parsing that in WebRTC for LKGR
|
||||
# (Chrome doesn't use it and puts the Console page on that URL instead).
|
||||
c['status'][0].putChild("tgrid", grid.TransposedGridStatusResource())
|
||||
|
||||
# Use an environment variable to easily avoid enabling e-mail for development.
|
||||
if not os.getenv('BUILDBOT_DEVELOPMENT_MODE'):
|
||||
|
Reference in New Issue
Block a user