[Buildbot-commits] buildbot/buildbot/scripts sample.cfg,1.10,1.11

Brian Warner warner at users.sourceforge.net
Fri Jul 21 07:40:44 UTC 2006


Update of /cvsroot/buildbot/buildbot/buildbot/scripts
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv12595/buildbot/scripts

Modified Files:
	sample.cfg 
Log Message:
[project @ sample.cfg: simplify the sample BuildFactory]

Original author: warner at lothar.com
Date: 2006-07-21 07:38:32

Index: sample.cfg
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/sample.cfg,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- sample.cfg	16 Jul 2006 03:34:05 -0000	1.10
+++ sample.cfg	21 Jul 2006 07:40:42 -0000	1.11
@@ -94,13 +94,13 @@
 builders = []
 
 from buildbot.process import step, factory
-s = factory.s
-source = s(step.CVS, cvsroot=cvsroot, cvsmodule=cvsmodule, login="",
+f1 = factory.BuildFactory()
+f1.addStep(step.CVS,
+           cvsroot=cvsroot, cvsmodule=cvsmodule, login="",
            mode="copy")
-f1 = factory.Trial(source, tests="buildbot.test",
-                   # enable this if you've installed buildbot-test-vc-1.tar.gz
-                   #env={'BUILDBOT_TEST_VC': "~/incoming"},
-                   )
+f1.addStep(step.Compile, command=["./setup.py", "build"])
+f1.addStep(step_twisted.Trial, testpath=".")
+
 b1 = {'name': "buildbot-full",
       'slavename': "bot1name",
       'builddir': "full",
@@ -124,9 +124,13 @@
 # c['status'].append(mail.MailNotifier(fromaddr="buildbot at localhost",
 #                                      extraRecipients=["builds at example.com"],
 #                                      sendToInterestedUsers=False))
+#
 # from buildbot.status import words
 # c['status'].append(words.IRC(host="irc.example.com", nick="bb",
 #                              channels=["#example"]))
+#
+# from buildbot.status import client
+# c['status'].append(client.PBListener(9988))
 
 
 ####### DEBUGGING OPTIONS





More information about the Commits mailing list