| OLD | NEW |
| (Empty) |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import socket | |
| 6 | |
| 7 # import base class from third_party/chromium_buildbot/site_config/ | |
| 8 import config_default | |
| 9 | |
| 10 class Master(config_default.Master): | |
| 11 googlecode_revlinktmpl = 'http://code.google.com/p/%s/source/browse?r=%s' | |
| 12 bot_password = 'epoger-temp-password' | |
| 13 | |
| 14 trunk_internal_url = 'svn://svn.chromium.org/chrome-internal/trunk' | |
| 15 trunk_internal_url_src = trunk_internal_url + '/src-internal' | |
| 16 | |
| 17 # domains to which we will send blame emails | |
| 18 permitted_domains = [] | |
| 19 | |
| 20 class _Base(object): | |
| 21 # If set to True, the master will do nasty stuff like closing the tree, | |
| 22 # sending emails or other similar behaviors. Don't change this value unless | |
| 23 # you modified the other settings extensively. | |
| 24 is_production_host = False | |
| 25 # Master address. You should probably copy this file in another svn repo | |
| 26 # so you can override this value on both the slaves and the master. | |
| 27 master_host = 'localhost' | |
| 28 # Additional email addresses to send gatekeeper (automatic tree closage) | |
| 29 # notifications. Unnecessary for experimental masters and try servers. | |
| 30 tree_closing_notification_recipients = [] | |
| 31 # 'from:' field for emails sent from the server. | |
| 32 from_address = 'nobody@example.com' | |
| 33 # Code review site to upload results. You should setup your own Rietveld | |
| 34 # instance with the code at | |
| 35 # http://code.google.com/p/rietveld/source/browse/#svn/branches/chromium | |
| 36 # and put a url looking like this: | |
| 37 # 'http://codereview.chromium.org/%d/upload_build_result/%d' | |
| 38 # You can host your own private rietveld instance on Django, see | |
| 39 # http://code.google.com/p/google-app-engine-django and | |
| 40 # http://code.google.com/appengine/articles/pure_django.html | |
| 41 code_review_site = None | |
| 42 | |
| 43 # For the following values, they are used only if non-0. Do not set them | |
| 44 # here, set them in the actual master configuration class. | |
| 45 | |
| 46 # Used for the waterfall URL and the waterfall's WebStatus object. | |
| 47 master_port = 0 | |
| 48 # Which port slaves use to connect to the master. | |
| 49 slave_port = 0 | |
| 50 # The alternate read-only page. Optional. | |
| 51 master_port_alt = 0 | |
| 52 # HTTP port for try jobs. | |
| 53 try_job_port = 0 | |
| 54 | |
| 55 class _ChromiumBase(_Base): | |
| 56 # Tree status urls. You should fork the code from tools/chromium-status/ and | |
| 57 # setup your own AppEngine instance (or use directly Djando to create a | |
| 58 # local instance). | |
| 59 # Defaulting urls that are used to POST data to 'localhost' so a local dev | |
| 60 # server can be used for testing and to make sure nobody updates the tree | |
| 61 # status by error! | |
| 62 # | |
| 63 # This url is used for HttpStatusPush: | |
| 64 base_app_url = 'http://localhost:8080' | |
| 65 # HTTP url that should return 0 or 1, depending if the tree is open or | |
| 66 # closed. It is also used as POST to update the tree status. | |
| 67 tree_status_url = base_app_url + '/status' | |
| 68 # Used by LKGR to POST data. | |
| 69 store_revisions_url = base_app_url + '/revisions' | |
| 70 # Used by the try server to sync to the last known good revision: | |
| 71 last_good_url = 'http://chromium-status.appspot.com/lkgr' | |
| 72 | |
| 73 class ChromiumFYI(_ChromiumBase): | |
| 74 project_name = 'Chromium FYI' | |
| 75 master_port = 9016 | |
| 76 slave_port = 9017 | |
| 77 master_port_alt = 9019 | |
| 78 master_host = 'c128.i.corp.google.com' | |
| 79 is_production_host = False | |
| 80 | |
| 81 class Installer(config_default.Installer): | |
| 82 bogus_var = 'bogus_value' | |
| 83 | |
| 84 class Archive(config_default.Archive): | |
| 85 bogus_var = 'bogus_value' | |
| 86 | |
| 87 class Distributed(config_default.Distributed): | |
| 88 bogus_var = 'bogus_value' | |
| OLD | NEW |