OLD | NEW |
1 #!/usr/bin/python | |
2 | |
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
4 # 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 |
5 # found in the LICENSE file. | 3 # found in the LICENSE file. |
6 | 4 |
| 5 # Dictionary values that aren't self-explanatory: |
| 6 # 'master' - only one allowed to be True. This bot controls the uprev process. |
| 7 # 'important' - master bot uses important bots to determine overall status. |
| 8 # i.e. if master bot succeeds and other important slaves succeed |
| 9 # then the master will uprev packages. This should align |
| 10 # with info vs. closer except for the master. |
| 11 # 'hostname' - Needed for 'important' slaves. The hostname of the bot. Should |
| 12 # match hostname in slaves.cfg in buildbot checkout. |
| 13 |
7 config = {} | 14 config = {} |
8 config['default'] = { | 15 config['default'] = { |
9 'board' : 'x86-generic', | 16 'board' : 'x86-generic', |
10 'uprev' : False, | 17 'uprev' : False, |
| 18 'master' : False, |
| 19 'important' : False, |
11 } | 20 } |
12 config['x86-generic-pre-flight-queue'] = { | 21 config['x86-generic-pre-flight-queue'] = { |
13 'board' : 'x86-generic', | 22 'board' : 'x86-generic', |
14 'uprev' : True, | 23 'uprev' : True, |
| 24 'master' : True, |
| 25 'important' : False, |
15 } | 26 } |
OLD | NEW |