[Buildbot-commits] buildbot/docs/examples twisted_master.cfg, 1.45, 1.46

Brian Warner warner at users.sourceforge.net
Fri Nov 24 20:46:03 UTC 2006


Update of /cvsroot/buildbot/buildbot/docs/examples
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv9870/docs/examples

Modified Files:
	twisted_master.cfg 
Log Message:
[project @ twisted_master.cfg: update to reflect current usage]

Original author: warner at lothar.com
Date: 2006-11-24 20:37:39

Index: twisted_master.cfg
===================================================================
RCS file: /cvsroot/buildbot/buildbot/docs/examples/twisted_master.cfg,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- twisted_master.cfg	22 Sep 2006 05:57:58 -0000	1.45
+++ twisted_master.cfg	24 Nov 2006 20:46:01 -0000	1.46
@@ -11,19 +11,20 @@
 
 import os.path
 
-from buildbot import master
 from buildbot.changes.pb import PBChangeSource
 from buildbot.scheduler import Scheduler, Try_Userpass
 from buildbot.steps.source import SVN
-from buildbot.steps.shell import ShellCommand
 from buildbot.process.factory import s
 from buildbot.process.process_twisted import \
      QuickTwistedBuildFactory, \
      FullTwistedBuildFactory, \
-     TwistedDebsBuildFactory, \
      TwistedReactorsBuildFactory
 from buildbot.status import html, words, client, mail
 
+import extra_factory
+reload(extra_factory)
+from extra_factory import GoodTwistedBuildFactory
+
 import private # holds passwords
 reload(private) # make it possible to change the contents without a restart
 
@@ -100,8 +101,8 @@
     "-Wignore::PendingDeprecationWarning:distutils.command.build_py",
     "-Wignore::PendingDeprecationWarning:distutils.command.build_ext",
     ]
-b23 = {'name': "full-2.3",
-       'slavename': "bot-exarkun-boson",
+b23 = {'name': "debian-py2.3-select",
+       'slavename': "bot-exarkun",
        'builddir': "full2.3",
        'factory': FullTwistedBuildFactory(source_copy,
                                           python=["python2.3", "-Wall"],
@@ -112,7 +113,7 @@
        }
 builders.append(b23)
 
-b24 = {'name': "full-2.4",
+b24 = {'name': "debian-py2.4-select",
        'slavenames': ["bot-exarkun"],
        'builddir': "full2.4",
        'factory': FullTwistedBuildFactory(source_copy,
@@ -123,59 +124,38 @@
        }
 builders.append(b24)
 
-bosx24 = {'name': 'osx-2.4',
-          'slavenames': ['bot-exarkun-osx'],
-          'builddir': 'full2.4-exarkun-osx',
-          'factory': FullTwistedBuildFactory(source_copy,
-                                             python=["python2.4", "-Wall"],
-                                             # use -Werror soon
-                                             compileOpts=b24compile_opts,
-                                             runTestsRandomly=1),
-          }
-builders.append(bosx24)
-
-bpollosx24 = {'name': 'poll-osx-2.4',
-              'slavenames': ['bot-exarkun-osx-2'],
-              'builddir': 'full2.4-poll-exarkun-osx',
-              'factory': TwistedReactorsBuildFactory(source_copy,
-                                                     python="python2.4",
-                                                     reactors=['poll']),
-              }
-builders.append(bpollosx24)
+b24debian64 = {
+    'name': 'debian64-py2.4-select',
+    'slavenames': ['bot-idnar-debian64'],
+    'builddir': 'full2.4-debian64',
+    'factory': FullTwistedBuildFactory(source_copy,
+                                       python=["python2.4", "-Wall"],
+                                       compileOpts=b24compile_opts),
+    }
+builders.append(b24debian64)
 
 b25debian = {
-    'name': 'full-2.5-debian',
+    'name': 'debian-py2.5-select',
     'slavenames': ['bot-idnar-debian'],
     'builddir': 'full2.5-debian',
     'factory': FullTwistedBuildFactory(source_copy,
                                        python=["python2.5", "-Wall"],
-                                       compileOpts=b24compile_opts),
-    }
+                                       compileOpts=b24compile_opts)}
 builders.append(b25debian)
 
 
-b24debian64 = {
-    'name': 'full-2.4-debian64',
-    'slavenames': ['bot-idnar-debian64'],
-    'builddir': 'full2.4-debian64',
+b25suse = {
+    'name': 'suse-py2.5-select',
+    'slavenames': ['bot-scmikes-2.5'],
+    'builddir': 'bot-scmikes-2.5',
     'factory': FullTwistedBuildFactory(source_copy,
-                                       python=["python2.4", "-Wall"],
+                                       python=["python2.5", "-Wall"],
                                        compileOpts=b24compile_opts),
     }
-builders.append(b24debian64)
-
-
-# debuild is offline while we figure out how to build 2.0 .debs from SVN
-# b3 = {'name': "debuild",
-#       'slavename': "bot2",
-#       'builddir': "debuild",
-#       'factory': TwistedDebsBuildFactory(source_export,
-#                                          python="python2.4"),
-#       }
-# builders.append(b3)
+builders.append(b25suse)
 
-reactors = ['gtk2', 'gtk', 'qt', 'poll']
-b4 = {'name': "reactors",
+reactors = ['poll', 'epoll', 'gtk', 'gtk2']
+b4 = {'name': "debian-py2.4-reactors",
       'slavename': "bot2",
       'builddir': "reactors",
       'factory': TwistedReactorsBuildFactory(source_copy,
@@ -184,54 +164,36 @@
       }
 builders.append(b4)
 
-# jml's machine is specifically for testing Qt
-bqt = {'name': "Qt",
-       'slavename': "bot-jml-qt",
-       'builddir': "qt",
-       'factory': TwistedReactorsBuildFactory(source_copy,
-                                              python="python2.4",
-                                              reactors=['qt']),
-       }
-#builders.append(bqt)
+bosx24 = {
+    'name': 'osx-py2.4-select',
+    'slavenames': ['bot-exarkun-osx'],
+    'builddir': 'full2.4-exarkun-osx',
+    'factory': FullTwistedBuildFactory(source_copy,
+                                       python=["python2.4", "-Wall"],
+                                       compileOpts=b24compile_opts,
+                                       runTestsRandomly=1)}
+builders.append(bosx24)
 
-jf = TwistedReactorsBuildFactory(source_copy,
-                                 python="python2.4", reactors=["default"])
-jf.steps.insert(0, s(ShellCommand, workdir=".",
-                     command=["ktrace", "rm", "-rf", "Twisted"]))
-b24osx = {'name': "OS-X",
-          'slavename': "bot-jerub",
-          'builddir': "OSX-full2.4",
-#          'factory': TwistedReactorsBuildFactory(source_copy,
-#                                                 python="python2.4",
-#                                                 reactors=["default"],
-#                                                 ),
-           'factory': jf,
-          }
-builders.append(b24osx)
+forcegc = {
+    'name': 'osx-py2.4-select-gc',
+    'slavenames': ['bot-exarkun-osx'],
+    'builddir': 'full2.4-force-gc-exarkun-osx',
+    'factory': GoodTwistedBuildFactory(source_copy,
+                                       python="python2.4")}
+builders.append(forcegc)
 
-b24w32_select = {
-          'name': "win32-select",
-          'slavename': "bot-win32-select",
-          'builddir': "W32-full2.4-select",
-          'factory': TwistedReactorsBuildFactory(source_copy,
-                                                 python="python",
-                                                 compileOpts2=["-c","mingw32"],
-                                                 reactors=["default"]),
-          }
-#builders.append(b24w32_select)
 
-b25suse = {
-    'name': 'full-2.5-suse',
-    'slavenames': ['bot-scmikes-2.5'],
-    'builddir': 'bot-scmikes-2.5',
-    'factory': FullTwistedBuildFactory(source_copy,
-                                       python=["python2.5", "-Wall"],
-                                       compileOpts=b24compile_opts),
-    }
-builders.append(b25suse)
+# debuild is offline while we figure out how to build 2.0 .debs from SVN
+# b3 = {'name': "debuild",
+#       'slavename': "bot2",
+#       'builddir': "debuild",
+#       'factory': TwistedDebsBuildFactory(source_export,
+#                                          python="python2.4"),
+#       }
+# builders.append(b3)
 
 b24w32_scmikes_select = {
-          'name': "win32-scmikes-select",
+          'name': "win32-py2.4-select",
           'slavename': "bot-scmikes-win32",
           'builddir': "W32-full2.4-scmikes-select",
           'factory': TwistedReactorsBuildFactory(source_copy,
@@ -241,8 +203,19 @@
           }
 builders.append(b24w32_scmikes_select)
 
+b25w32_scmikes_select = {
+          'name': "win32-py2.5-select",
+          'slavename': "bot-scmikes-win32-2.5",
+          'builddir': "W32-full2.5-scmikes-select",
+          'factory': TwistedReactorsBuildFactory(source_copy,
+                                                 python="python",
+                                                 compileOpts2=["-c","mingw32"],
+                                                 reactors=["default"]),
+          }
+builders.append(b25w32_scmikes_select)
+
 b24w32_win32er = {
-          'name': "win32-win32er",
+          'name': "win32-py2.4-er",
           'slavename': "bot-win32-win32er",
           'builddir': "W32-full2.4-win32er",
           'factory': TwistedReactorsBuildFactory(source_copy,
@@ -254,7 +227,7 @@
 
 
 b24w32_iocp = {
-          'name': "win32-iocp",
+          'name': "win32-py2.4-iocp",
           'slavename': "bot-win32-iocp",
           'builddir': "W32-full2.4-iocp",
           'factory': TwistedReactorsBuildFactory(source_copy,
@@ -265,7 +238,7 @@
 builders.append(b24w32_iocp)
 
 
-b24freebsd = {'name': "freebsd",
+b24freebsd = {'name': "freebsd-py2.4-select-kq",
               'slavename': "bot-landonf",
               'builddir': "freebsd-full2.4",
               'factory':
@@ -277,22 +250,25 @@
               }
 builders.append(b24freebsd)
 
-bpypyc = {'name': 'pypy-c',
+
+osxtsr = {'name': "osx-py2.4-tsr",
+          'slavename': "bot-exarkun-osx",
+          'builddir': "osx-tsr",
+          'factory': TwistedReactorsBuildFactory(
+              source_copy,
+              python="python2.4",
+              reactors=["tsr"])}
+builders.append(osxtsr)
+
+
+bpypyc = {'name': 'osx-pypyc-select',
           'slavename': 'bot-jerub-pypy',
           'builddir': 'pypy-c',
           'factory': TwistedReactorsBuildFactory(source_copy,
-                                                 python="pypy-c",
-                                                 reactors=["default"])}
+						 python="pypy-c",
+						 reactors=["default"])}
 builders.append(bpypyc)
 
-# b24threadless = {'name': 'threadless',
-#                  'slavename': 'bot-threadless',
-#                  'builddir': 'debian-threadless-2.4',
-#                  'factory': TwistedReactorsBuildFactory(source_copy,
-#                                                         python='python',
-#                                                         reactors=['default'])}
-# builders.append(b24threadless)
-
 c['builders'] = builders
 
 # now set up the schedulers. We do this after setting up c['builders'] so we
@@ -304,12 +280,15 @@
 ## configure the schedulers
 s_quick = Scheduler(name="quick", branch=None, treeStableTimer=30,
                     builderNames=["quick"])
-s_all = Scheduler(name="all", branch=None, treeStableTimer=5*60,
-                  builderNames=all_builders)
 s_try = Try_Userpass("try", all_builders, port=9989,
                      userpass=private.try_users)
 
-c['schedulers'] = [s_quick, s_all, s_try]
+s_all = []
+for i, builderName in enumerate(all_builders):
+    s_all.append(Scheduler(name="all-" + builderName,
+                           branch=None, builderNames=[builderName],
+                           treeStableTimer=(5 * 60 + i * 30)))
+c['schedulers'] = [s_quick, s_try] + s_all
 
 
 
@@ -336,7 +315,7 @@
     c['manhole'] = manhole.PasswordManhole(*private.manhole)
 c['status'].append(client.PBListener(9936))
 m = mail.MailNotifier(fromaddr="buildbot at twistedmatrix.com",
-                      builders=["quick", "full-2.3"],
+                      builders=["quick", "debian-py2.3-select"],
                       sendToInterestedUsers=True,
 		      extraRecipients=["warner at lothar.com"],
 		      mode="problem",





More information about the Commits mailing list