[151010] contrib/buildbot-test/master.cfg

ryandesign at macports.org ryandesign at macports.org
Fri Aug 5 07:19:18 PDT 2016


Revision: 151010
          https://trac.macports.org/changeset/151010
Author:   ryandesign at macports.org
Date:     2016-08-05 07:19:18 -0700 (Fri, 05 Aug 2016)
Log Message:
-----------
buildbot-test: always set baseslaves and portslaves, not just when in production

Modified Paths:
--------------
    contrib/buildbot-test/master.cfg

Modified: contrib/buildbot-test/master.cfg
===================================================================
--- contrib/buildbot-test/master.cfg	2016-08-05 14:17:36 UTC (rev 151009)
+++ contrib/buildbot-test/master.cfg	2016-08-05 14:19:18 UTC (rev 151010)
@@ -396,16 +396,10 @@
 # XXX: slavenames assignment should be automatic and more generic
 portsslaves = {}
 baseslaves = {}
-if production:
-    slavenames = slavedata.keys()
-    for plat in build_platforms:
-        baseslaves[plat]  = filter(lambda x: x.endswith(plat+"-base"),  slavenames)
-        portsslaves[plat] = filter(lambda x: x.endswith(plat+"-ports"), slavenames)
-#else:
-    #slavenames = ["snowleopard-x86_64"]
-    #slavenames = ["base-10.6-x86_64","10.6-x86_64","10.9-x86_64"]
-    #portsslaves = {build_platforms[0]:slavenames[0],build_platforms[1]:slavenames[1]}
-    #baseslaves = {build_platforms[0]:slavenames[0],build_platforms[1]:slavenames[1]}
+slavenames = slavedata.keys()
+for plat in build_platforms:
+    baseslaves[plat]  = filter(lambda x: x.endswith(plat+"-base"),  slavenames)
+    portsslaves[plat] = filter(lambda x: x.endswith(plat+"-ports"), slavenames)
 
 c['builders']=[]
 for plat in build_platforms:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160805/dce15e82/attachment.html>


More information about the macports-changes mailing list