Index: bin/cbuildbot_config.py |
diff --git a/bin/cbuildbot_config.py b/bin/cbuildbot_config.py |
index 2528a73dff452d7a3bcf2f4abdde37baa5288e87..c68c225c8bb24f20a210cf11a5f40fcb833eb95c 100644 |
--- a/bin/cbuildbot_config.py |
+++ b/bin/cbuildbot_config.py |
@@ -1,15 +1,26 @@ |
-#!/usr/bin/python |
- |
# Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
+# Dictionary values that aren't self-explanatory: |
+# 'master' - only one allowed to be True. This bot controls the uprev process. |
+# 'important' - master bot uses important bots to determine overall status. |
+# i.e. if master bot succeeds and other important slaves succeed |
+# then the master will uprev packages. This should align |
+# with info vs. closer except for the master. |
+# 'hostname' - Needed for 'important' slaves. The hostname of the bot. Should |
+# match hostname in slaves.cfg in buildbot checkout. |
+ |
config = {} |
config['default'] = { |
'board' : 'x86-generic', |
'uprev' : False, |
+ 'master' : False, |
+ 'important' : False, |
} |
config['x86-generic-pre-flight-queue'] = { |
'board' : 'x86-generic', |
'uprev' : True, |
+ 'master' : True, |
+ 'important' : False, |
} |