zuul/zuul/driver
Monty Taylor 518dcf8bdb
Add /info and /{tenant}/info route to zuul-web
There are a few pieces of information that are useful to know in the web
layer.

websocket_url is a config setting that, if set, is needed by the
console streaming. We currently pass this in appended to the streaming
url as a url parameter (which since it's a URL is a bit extra odd)

The endpoint is normally relative to the webapp,
but may need to be overridden in cases like publishing the html and
javascript to a disconnected location such as the draft output into the
log server in openstack or publishing built html/javascript to swift.

Add WebInfo and TenantWebInfo objects and corresponding /info and
/{tenant}/info routes. As an alternative, we could collapse WebInfo
and TenantWebInfo to just WebInfo and leave the tenant field set to None
for the /info route.

Some of the API functions are optionally provided by
plugins. The github plugin provides webhook URLs and the SQLReporter
plugin is needed for the builds endpoints. Add a Capabilities object
that can report on the existance of such things and pass it to plugin
route registration so that capabilities can be registered.

Add support for configuring stats_url

The old zuul status page had sparklines and other graphs on it, which
are not present in the current one because the graphite server wasn't
parameterized.

Add a config setting allowing a URL to a graphite server to be set and
expose that in the /info endpoint. Since statsd itself can emit to multiple
different backends, add a setting for the type of server, defaulting to
graphite.

Change-Id: I606a3b2cdf03cb73aa3ffd69d9d64c171b23b97a
2018-02-19 09:31:13 -06:00
..
bubblewrap Add /etc/alternatives to bwrap 2017-08-31 10:10:38 -07:00
gerrit Merge "Support autoholding nodes for specific changes/refs" 2018-02-10 08:17:38 +00:00
git Support autoholding nodes for specific changes/refs 2018-02-08 19:26:08 +01:00
github Add /info and /{tenant}/info route to zuul-web 2018-02-19 09:31:13 -06:00
nullwrap Write secrets to tmpfs 2017-08-19 08:08:19 -07:00
smtp Fix for pep8 E722 and ignore E741 2017-10-23 10:50:32 -07:00
sql Add /info and /{tenant}/info route to zuul-web 2018-02-19 09:31:13 -06:00
timer Optionally limit github to protected branches 2017-08-03 11:50:26 +02:00
zuul Support cross-source dependencies 2018-01-16 09:37:40 -08:00
__init__.py Write secrets to tmpfs 2017-08-19 08:08:19 -07:00
util.py Add driver-specific pipeline requirements 2017-05-19 13:24:00 -07:00