OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 30 matching lines...) Expand all Loading... |
41 'test_shell_tests', | 41 'test_shell_tests', |
42 'unit_tests', | 42 'unit_tests', |
43 #'ui_tests', | 43 #'ui_tests', |
44 #'webkit_tests', | 44 #'webkit_tests', |
45 ], | 45 ], |
46 'windows': ['svnkill', 'taskkill'], | 46 'windows': ['svnkill', 'taskkill'], |
47 'compile': ['check_deps', 'compile', 'archive_build'] | 47 'compile': ['check_deps', 'compile', 'archive_build'] |
48 } | 48 } |
49 | 49 |
50 exclusions = { | 50 exclusions = { |
51 'Chromium Arm': None, | |
52 'Chromium Arm (dbg)': None, | |
53 } | 51 } |
54 | 52 |
55 forgiving_steps = ['update_scripts', 'update', 'svnkill', 'taskkill', | 53 forgiving_steps = ['update_scripts', 'update', 'svnkill', 'taskkill', |
56 'archive_build', 'start_crash_handler'] | 54 'archive_build', 'start_crash_handler'] |
57 | 55 |
58 def Update(config, active_master, c): | 56 def Update(config, active_master, c): |
59 c['status'].append(gatekeeper.GateKeeper( | 57 c['status'].append(gatekeeper.GateKeeper( |
60 fromaddr=active_master.from_address, | 58 fromaddr=active_master.from_address, |
61 categories_steps=categories_steps, | 59 categories_steps=categories_steps, |
62 exclusions=exclusions, | 60 exclusions=exclusions, |
63 relayhost=config.Master.smtp, | 61 relayhost=config.Master.smtp, |
64 subject='buildbot %(result)s in %(projectName)s on %(builder)s, ' | 62 subject='buildbot %(result)s in %(projectName)s on %(builder)s, ' |
65 'revision %(revision)s', | 63 'revision %(revision)s', |
66 extraRecipients=active_master.tree_closing_notification_recipients, | 64 extraRecipients=active_master.tree_closing_notification_recipients, |
67 lookup=master_utils.FilterDomain(), | 65 lookup=master_utils.FilterDomain(), |
68 forgiving_steps=forgiving_steps, | 66 forgiving_steps=forgiving_steps, |
69 tree_status_url=active_master.tree_status_url, | 67 tree_status_url=active_master.tree_status_url, |
70 use_getname=True)) | 68 use_getname=True)) |
OLD | NEW |