Pip install pypugjs is required to use jade templates. On the regular nodejs UI build system, we use nodejs’s pug module to compile jade into html.įor custom_templates, we use the pypugjs interpreter to parse the jade templates, before sending them to the UI. If the directory string is relative, it will be joined to the master’s basedir.īuildbot uses the jade file format natively (which has been renamed to ‘pug’ in the nodejs ecosystem), but you can also use HTML format if you prefer.Įither *.jade files or *.html files can be used to override templates with the same name in the UI. You can use this to slightly customize buildbot look for your project, but to add any logic, you will need to create a full-blown plugin. This directory will be parsed for custom angularJS templates to replace the one of the original website templates. The first element of a tuple stands for the name of the component, the second stands for the corresponding version. List of methods that can be used to get avatar pictures to use for the web server.īy default, Buildbot uses Gravatar to get images associated with each users, if you want to disable this you can just specify empty list:Ĭ } authĪuthentication module to use for the web server. The Buildbot UI will operate correctly without this parameter it is only useful for allowing access from other web applications. Thus will match all origins, and [' will match secure sites under. It implements cross-origin request sharing (CORS), allowing pages at origins other than the Buildbot UI to use the API.Įach origin is interpreted as filename match expression, with ? matching one character and * matching anything. This gives a list of origins which are allowed to access the Buildbot API (including control via JSONRPC 2.0). This is best set to false (the default) on production systems, to avoid the possibility of information leakage. If true, then debugging information will be output to the browser. These plugins must be separately installed in the Python environment, e.g., pip install buildbot-waterfall-view.Ĭ = 'console' debug This key gives a dictionary of additional UI plugins to load, along with configuration for those plugins. This can be used to ensure that no clients are depending on API versions that will soon be removed from Buildbot. rest_minimum_versionĪny versions less than this value will not be available. The number of seconds into the future at which an HTTP API response should expire. If this is None (the default), then the master will not implement a web server. To host Buildbot with SSL, use an HTTP proxy such as lighttpd, nginx, or Apache. It might be an integer or any string accepted by serverFromString (ex: “ tcp:8010:interface=127.0.0.1” to listen on another interface). This server is configured with the www configuration key, which specifies a dictionary with the following keys: port As of Buildbot 0.9.0, the built-in web server replaces the old WebStatus plugin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |