Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3952)

Unified Diff: bin/cbuildbot_config.py

Issue 3165052: Add ability for cbuildbot master to synchronize with cbuildbot slaves. (Closed) Base URL: http://src.chromium.org/git/crosutils.git
Patch Set: Remove extra dep Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bin/cbuildbot_comm_unittest.py ('k') | bin/cbuildbot_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
}
« no previous file with comments | « bin/cbuildbot_comm_unittest.py ('k') | bin/cbuildbot_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698