[Checkins] SVN: Sandbox/adamg/zope.wineggbuilder/trunk/master.cfg mailnotifier, py 270

Adam Groszer agroszer at gmail.com
Tue Jul 6 03:23:05 EDT 2010


Log message for revision 114225:
  mailnotifier, py 270

Changed:
  U   Sandbox/adamg/zope.wineggbuilder/trunk/master.cfg

-=-
Modified: Sandbox/adamg/zope.wineggbuilder/trunk/master.cfg
===================================================================
--- Sandbox/adamg/zope.wineggbuilder/trunk/master.cfg	2010-07-06 07:08:39 UTC (rev 114224)
+++ Sandbox/adamg/zope.wineggbuilder/trunk/master.cfg	2010-07-06 07:23:05 UTC (rev 114225)
@@ -315,11 +315,21 @@
         title='Python 2.6.5 win64',
         python=r'c:\Python26_64\python.exe',
         buildout=r'bin\buildout.exe'),
+    py_270_win32 = Platform(
+        name='py_270_win32',
+        title='Python 2.7.0 win32',
+        python=r'c:\Python27_32\python.exe',
+        buildout=r'bin\buildout.exe'),
+    py_270_win64 = Platform(
+        name='py_270_win64',
+        title='Python 2.7.0 win64',
+        python=r'c:\Python27_64\python.exe',
+        buildout=r'bin\buildout.exe'),
 )
 
 
 #these python's have the right settings to be able to compile binary eggs
-ZTK_DEV_PLATFORMS = dict(
+DEV_PLATFORMS = dict(
     py_244_win32 = Platform(
         name='py_244_win32',
         title='Python 2.4.4 win32',
@@ -340,8 +350,20 @@
         title='Python 2.6.5 win64',
         python=r'c:\Python26_64\python.exe',
         buildout=r'cmd /c c:\Python26_64\setupcompilerandexecute.bat bin\buildout.exe'),
+    py_270_win32 = Platform(
+        name='py_270_win32',
+        title='Python 2.7.0 win32',
+        python=r'c:\Python27_32\python.exe',
+        buildout=r'cmd /c c:\Python27_32\setupcompilerandexecute.bat bin\buildout.exe'),
+    py_270_win64 = Platform(
+        name='py_270_win64',
+        title='Python 2.7.0 win64',
+        python=r'c:\Python27_64\python.exe',
+        buildout=r'cmd /c c:\Python27_64\setupcompilerandexecute.bat bin\buildout.exe'),
 )
 
+ZTK_DEV_PLATFORMS = DEV_PLATFORMS.copy()
+
 ######################################
 # ZTK tests
 
@@ -477,9 +499,11 @@
 def setupZTK_10_tests(slow_lock):
     hour = 02
     minute = 10
+    builders = []
     for pname in sorted(ZTK_DEV_PLATFORMS.keys()):
         platform = ZTK_DEV_PLATFORMS[pname]
         name = "ztk_10 %s" % platform.name
+        builders.append(name)
         c['builders'].append(
             ztk_10_builder(name, 'local', platform, [slow_lock]))
 
@@ -487,6 +511,15 @@
             Nightly( "%s_nightly" % name, [name], hour=hour, minute=minute))
         minute += 1
 
+    c['status'].append(
+      MailNotifier(mode="all",
+               fromaddr=FROMADDR,
+               extraRecipients=["zope-tests at zope.org"],
+               sendToInterestedUsers=False,
+               builders=builders,
+               messageFormatter=message_formatter)
+               )
+
 # ZTK 1.0 tests
 ######################################
 
@@ -535,9 +568,11 @@
 def setup_zc_buildout_dev_tests(slow_lock):
     hour = 02
     minute = 20
+    builders = []
     for pname in sorted(PLATFORMS.keys()):
         platform = PLATFORMS[pname]
         name = "zc_buildout_dev %s" % platform.name
+        builders.append(name)
         c['builders'].append(
             zc_buildout_dev_builder(name, 'local', platform, [slow_lock]))
 
@@ -545,6 +580,16 @@
             Nightly( "%s_nightly" % name, [name], hour=hour, minute=minute))
         minute += 1
 
+    #c['status'].append(
+    #  MailNotifier(mode="all",
+    #           fromaddr=FROMADDR,
+    #           extraRecipients=["zope-tests at zope.org"],
+    #           sendToInterestedUsers=False,
+    #           builders=builders,
+    #           messageFormatter=message_formatter)
+    #           )
+
+
 # zc.buildout
 ######################################
 
@@ -590,7 +635,9 @@
 
 
 def setup_BB_dev_tests(slow_lock):
-    hour = 03
+    hour = 02
+    minute = 30
+    builders = []
     for pname in sorted(PLATFORMS.keys()):
         platform = PLATFORMS[pname]
         name = "BlueBream_dev %s" % platform.name
@@ -598,8 +645,18 @@
             bb_builder(name, 'local', platform, [slow_lock]))
 
         c['schedulers'].append(
-            Nightly( "%s_nightly" % name, [name], hour=hour))
+            Nightly( "%s_nightly" % name, [name], hour=hour, minute=minute))
+        minute += 1
 
+    c['status'].append(
+      MailNotifier(mode="all",
+               fromaddr=FROMADDR,
+               extraRecipients=["zope-tests at zope.org"],
+               sendToInterestedUsers=False,
+               builders=builders,
+               messageFormatter=message_formatter)
+               )
+
 # BlueBream
 ######################################
 
@@ -607,29 +664,8 @@
 ######################################
 # ZODB
 
-#these python's have the right settings to be able to compile binary eggs
-ZODB_DEV_PLATFORMS = dict(
-    #py_244_win32 = Platform(
-    #    name='py_244_win32',
-    #    title='Python 2.4.4 win32',
-    #    python=r'c:\Python24_32\python.exe',
-    #    buildout=r'cmd /c c:\Python24_32\setupcompilerandexecute.bat bin\buildout.exe'),
-    py_254_win32 = Platform(
-        name='py_254_win32',
-        title='Python 2.5.4 win32',
-        python=r'c:\Python25_32\python.exe',
-        buildout=r'cmd /c c:\Python25_32\setupcompilerandexecute.bat bin\buildout.exe'),
-    py_265_win32 = Platform(
-        name='py_265_win32',
-        title='Python 2.6.5 win32',
-        python=r'c:\Python26_32\python.exe',
-        buildout=r'cmd /c c:\Python26_32\setupcompilerandexecute.bat bin\buildout.exe'),
-    py_265_win64 = Platform(
-        name='py_265_win64',
-        title='Python 2.6.5 win64',
-        python=r'c:\Python26_64\python.exe',
-        buildout=r'cmd /c c:\Python26_64\setupcompilerandexecute.bat bin\buildout.exe'),
-)
+ZODB_DEV_PLATFORMS = DEV_PLATFORMS.copy()
+del ZODB_DEV_PLATFORMS['py_244_win32']
 
 def ZODB_dev_builder(name, slavename, platform, locks):
     builddir = name.replace(' ', '_')
@@ -671,17 +707,39 @@
                 locks=locks)
 
 def setup_ZODB_dev_tests(slow_lock):
-    hour = 04
+    hour = 02
+    minute = 40
+    builders = []
     for pname in sorted(ZODB_DEV_PLATFORMS.keys()):
         platform = ZODB_DEV_PLATFORMS[pname]
         name = "ZODB_dev %s" % platform.name
+        builders.append(name)
         c['builders'].append(
             ZODB_dev_builder(name, 'local', platform, [slow_lock]))
 
         c['schedulers'].append(
-            Nightly( "%s_nightly" % name, [name], hour=hour))
+            Nightly( "%s_nightly" % name, [name], hour=hour, minute=minute))
+        minute += 1
 
-# zc.buildout
+    c['status'].append(
+      MailNotifier(mode="failing",
+               fromaddr=FROMADDR,
+               extraRecipients=["jim at zope.com", "agroszer at gmail.com"],
+               sendToInterestedUsers=False,
+               builders=builders,
+               messageFormatter=message_formatter)
+               )
+
+    c['status'].append(
+      MailNotifier(mode="all",
+               fromaddr=FROMADDR,
+               extraRecipients=["zope-tests at zope.org"],
+               sendToInterestedUsers=False,
+               builders=builders,
+               messageFormatter=message_formatter)
+               )
+
+# ZODB
 ######################################
 
 ######################################
@@ -709,7 +767,8 @@
     if result == 'failure':
         status = 'FAILED'
 
-    subject = '%s : %s / %s' % (status, master_status.getProjectName(), name)
+    #subject = '%s : %s / %s' % (status, master_status.getProjectName(), name)
+    subject = '%s : %s / %s' % (status, "winbot", name)
     text.append(subject)
     text.append("Build: %s" % master_status.getURLForThing(build))
     text.append('\n')



More information about the checkins mailing list