| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright 2013 The Chromium Authors. All rights reserved. | 4 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 5 # Use of this source code is governed by a BSD-style license that can be | 5 # Use of this source code is governed by a BSD-style license that can be |
| 6 # found in the LICENSE file. | 6 # found in the LICENSE file. |
| 7 | 7 |
| 8 # This is the buildmaster config file for the 'libvpx' bot. It must | 8 # This is the buildmaster config file for the 'libvpx' bot. It must |
| 9 # be installed as 'master.cfg' in your buildmaster's base directory | 9 # be installed as 'master.cfg' in your buildmaster's base directory |
| 10 # (although the filename can be changed with the --basedir option to | 10 # (although the filename can be changed with the --basedir option to |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 # 'slavePortnum' defines the TCP port to listen on. This must match the value | 36 # 'slavePortnum' defines the TCP port to listen on. This must match the value |
| 37 # configured into the buildslaves (with their --master option) | 37 # configured into the buildslaves (with their --master option) |
| 38 c['slavePortnum'] = ActiveMaster.slave_port | 38 c['slavePortnum'] = ActiveMaster.slave_port |
| 39 | 39 |
| 40 # Disable compression for the stdio files. | 40 # Disable compression for the stdio files. |
| 41 c['logCompressionLimit'] = False | 41 c['logCompressionLimit'] = False |
| 42 | 42 |
| 43 # Load the list of slaves. | 43 # Load the list of slaves. |
| 44 slaves = slaves_list.SlavesList('slaves.cfg', 'Libvpx') | 44 slaves = slaves_list.SlavesList('slaves.cfg', 'Libvpx') |
| 45 | 45 |
| 46 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 46 config.DatabaseSetup(c) |
| 47 | 47 |
| 48 ####### CHANGESOURCES | 48 ####### CHANGESOURCES |
| 49 if ActiveMaster.is_production_host: | 49 if ActiveMaster.is_production_host: |
| 50 libvpx_poller = GitPoller(repourl=ActiveMaster.source_url, | 50 libvpx_poller = GitPoller(repourl=ActiveMaster.source_url, |
| 51 gitbin=chromium_utils.GIT_BIN, | 51 gitbin=chromium_utils.GIT_BIN, |
| 52 branch='master', | 52 branch='master', |
| 53 workdir='gitpoller/public', | 53 workdir='gitpoller/public', |
| 54 category='public', | 54 category='public', |
| 55 pollinterval=5*60) | 55 pollinterval=5*60) |
| 56 c['change_source'] = [libvpx_poller] | 56 c['change_source'] = [libvpx_poller] |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 187 |
| 188 ####### PROJECT IDENTITY | 188 ####### PROJECT IDENTITY |
| 189 | 189 |
| 190 # the 'projectName' string will be used to describe the project that this | 190 # the 'projectName' string will be used to describe the project that this |
| 191 # buildbot is working on. For example, it is used as the title of the | 191 # buildbot is working on. For example, it is used as the title of the |
| 192 # waterfall HTML page. The 'projectURL' string will be used to provide a link | 192 # waterfall HTML page. The 'projectURL' string will be used to provide a link |
| 193 # from buildbot HTML pages to your project's home page. | 193 # from buildbot HTML pages to your project's home page. |
| 194 | 194 |
| 195 c['projectName'] = ActiveMaster.project_name | 195 c['projectName'] = ActiveMaster.project_name |
| 196 c['projectURL'] = config.Master.project_url | 196 c['projectURL'] = config.Master.project_url |
| OLD | NEW |