| OLD | NEW |
| 1 # -*- python -*- | 1 # -*- python -*- |
| 2 # ex: set syntax=python: | 2 # ex: set syntax=python: |
| 3 | 3 |
| 4 # Copyright 2015 The Chromium Authors. All rights reserved. | 4 # Copyright 2015 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 import config | 8 import config |
| 9 import master_site_config | 9 import master_site_config |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 factory_properties=props, | 42 factory_properties=props, |
| 43 **kwargs) | 43 **kwargs) |
| 44 | 44 |
| 45 revision_getter = master_utils.ConditionalProperty( | 45 revision_getter = master_utils.ConditionalProperty( |
| 46 lambda build: build.getProperty('revision'), | 46 lambda build: build.getProperty('revision'), |
| 47 WithProperties('%(revision)s'), | 47 WithProperties('%(revision)s'), |
| 48 'origin/master') | 48 'origin/master') |
| 49 | 49 |
| 50 ####### DATABASE | 50 ####### DATABASE |
| 51 | 51 |
| 52 config.DatabaseSetup(c, require_dbconfig=ActiveMaster.is_production_host) | 52 config.DatabaseSetup(c) |
| 53 | 53 |
| 54 ####### CHANGE SOURCES | 54 ####### CHANGE SOURCES |
| 55 | 55 |
| 56 INFRA_REPO_URL = 'https://chromium.googlesource.com/infra/infra' | 56 INFRA_REPO_URL = 'https://chromium.googlesource.com/infra/infra' |
| 57 LUCI_GO_REPO_URL = ( | 57 LUCI_GO_REPO_URL = ( |
| 58 'https://chromium.googlesource.com/external/github.com/luci/luci-go') | 58 'https://chromium.googlesource.com/external/github.com/luci/luci-go') |
| 59 LUCI_GAE_REPO_URL = ( | 59 LUCI_GAE_REPO_URL = ( |
| 60 'https://chromium.googlesource.com/external/github.com/luci/gae') | 60 'https://chromium.googlesource.com/external/github.com/luci/gae') |
| 61 RECIPES_PY_REPO_URL = ( | 61 RECIPES_PY_REPO_URL = ( |
| 62 'https://chromium.googlesource.com/external/github.com/luci/recipes-py') | 62 'https://chromium.googlesource.com/external/github.com/luci/recipes-py') |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 343 relayhost=config.Master.smtp, | 343 relayhost=config.Master.smtp, |
| 344 extraRecipients=['swarming-eng@googlegroups.com'], | 344 extraRecipients=['swarming-eng@googlegroups.com'], |
| 345 ), | 345 ), |
| 346 ]) | 346 ]) |
| 347 | 347 |
| 348 | 348 |
| 349 ####### PROJECT IDENTITY | 349 ####### PROJECT IDENTITY |
| 350 | 350 |
| 351 c['projectName'] = ActiveMaster.project_name | 351 c['projectName'] = ActiveMaster.project_name |
| 352 c['buildbotURL'] = ActiveMaster.buildbot_url | 352 c['buildbotURL'] = ActiveMaster.buildbot_url |
| OLD | NEW |