| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 from master import gatekeeper | 5 from master import gatekeeper |
| 6 from master import master_utils | 6 from master import master_utils |
| 7 | 7 |
| 8 # This is the list of the builder categories and the corresponding critical | 8 # This is the list of the builder categories and the corresponding critical |
| 9 # steps. If one critical step fails, gatekeeper will close the tree | 9 # steps. If one critical step fails, gatekeeper will close the tree |
| 10 # automatically. | 10 # automatically. |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 'compile': ['check_deps2git', 'check_deps', 'compile', 'archive_build'], | 45 'compile': ['check_deps2git', 'check_deps', 'compile', 'archive_build'], |
| 46 # Annotator scripts are triggered as a 'build' step. | 46 # Annotator scripts are triggered as a 'build' step. |
| 47 # The gatekeeper currently does not recognize failure in a | 47 # The gatekeeper currently does not recognize failure in a |
| 48 # @@@BUILD_STEP@@@, so we must match on the buildbot-defined step. | 48 # @@@BUILD_STEP@@@, so we must match on the buildbot-defined step. |
| 49 'android': ['build'], | 49 'android': ['build'], |
| 50 } | 50 } |
| 51 | 51 |
| 52 exclusions = { | 52 exclusions = { |
| 53 # nacl_integration disabled on two Mac bots. | 53 # nacl_integration disabled on two Mac bots. |
| 54 # http://crbug.com/131422 | 54 # http://crbug.com/131422 |
| 55 'Mac10.5 Tests (1)': ['nacl_integration'], | |
| 56 'Mac 10.5 Tests (dbg)(1)': ['nacl_integration'], | |
| 57 'Mac10.6 Tests (1)': ['nacl_integration'], | 55 'Mac10.6 Tests (1)': ['nacl_integration'], |
| 58 'Mac 10.6 Tests (dbg)(1)': ['nacl_integration'], | 56 'Mac 10.6 Tests (dbg)(1)': ['nacl_integration'], |
| 57 #'Mac10.7 Tests (1)': ['nacl_integration'], |
| 58 #'Mac 10.7 Tests (dbg)(1)': ['nacl_integration'], |
| 59 } | 59 } |
| 60 | 60 |
| 61 forgiving_steps = ['update_scripts', 'update', 'svnkill', 'taskkill', | 61 forgiving_steps = ['update_scripts', 'update', 'svnkill', 'taskkill', |
| 62 'archive_build', 'start_crash_handler'] | 62 'archive_build', 'start_crash_handler'] |
| 63 | 63 |
| 64 def Update(config, active_master, c): | 64 def Update(config, active_master, c): |
| 65 c['status'].append(gatekeeper.GateKeeper( | 65 c['status'].append(gatekeeper.GateKeeper( |
| 66 fromaddr=active_master.from_address, | 66 fromaddr=active_master.from_address, |
| 67 categories_steps=categories_steps, | 67 categories_steps=categories_steps, |
| 68 exclusions=exclusions, | 68 exclusions=exclusions, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 82 exclusions=exclusions, | 82 exclusions=exclusions, |
| 83 relayhost=config.Master.smtp, | 83 relayhost=config.Master.smtp, |
| 84 subject='buildbot %(result)s in %(projectName)s on %(builder)s, ' | 84 subject='buildbot %(result)s in %(projectName)s on %(builder)s, ' |
| 85 'revision %(revision)s', | 85 'revision %(revision)s', |
| 86 sheriffs=None, | 86 sheriffs=None, |
| 87 extraRecipients=['nacl-broke@google.com'], | 87 extraRecipients=['nacl-broke@google.com'], |
| 88 lookup=master_utils.FilterDomain(), | 88 lookup=master_utils.FilterDomain(), |
| 89 forgiving_steps=forgiving_steps, | 89 forgiving_steps=forgiving_steps, |
| 90 tree_status_url=None, | 90 tree_status_url=None, |
| 91 use_getname=True)) | 91 use_getname=True)) |
| OLD | NEW |