[Buildbot-devel] Problem in Source Checkout from CVS.
Divyesh Sharma
divyeshs at radixweb.com
Sat Nov 4 09:54:41 UTC 2006
Hi,
I want to ask, Buildslave is Mandatory in Buildbot's System Architecture ..
We cannot run Ethereal's source code simply by having the Buildmaster on our local machine ?
I had imported ethereal source code to CVS Repository but i am not able to checkout the source code from Repository..
I had followed the following steps :
Installing the code : I had installed all the required files and libraries.Python, Twisted, CVSToys
and also installed the code using
"python setup.py build"
"python setup.py install"
I am also able to run this :
buildbot --version perfectly
I had also created a buildmaster using
"buildbot create-master basedir"
and as a result i am having BASEDIR default directory created to "/usr/bin"
then
I had skiped the slave part
successfully completed with "Launching the daemons"
I am able to successfully run following commands
"buildbot start basedir"
I am also getting twistd.log and twistd.pid files created in basedir also changes.pck file is created along with this
then I am also able to shutdown the process using
"buildbot stopbasedir"
I am also able to sighup the process using
"buildbot sighup basedir"
Till this every thing had worked well Now I am at Build Steps
for build factory i had made few changes to master.cfg (Builders)
they are as follow I am having my source code to CVS Repository at path /var/lib/cvsroot/ethereal
change to master.cfg is this
cvsroot = "/var/lib/cvsroot/ethereal"
cvsmodule = "ethereal"
builders = []
from buildbot.process import step, factory
f1 = factory.BuildFactory()
f1.addStep(step.CVS,
cvsroot=cvsroot, cvsmodule=cvsmodule, login="",
mode="copy")
#(comment)f1.addStep(step.Compile, command=["./setup.py", "build"])
#(comment)f1.addStep(step_twisted.Trial, testpath="C:\Python24\scripts\basedir\master.cfg")
#(comment)b1 = {'name': "buildbot-full",
#(comment) 'slavename': "bot1name",
#(comment) 'builddir': "full",
#(comment) 'factory': f1,
}
#(comment)c['builders'] = [b1]
Now I had to CHECKOUT THE SOURCE CODE BUT I AM NOT ABLE TO DO THAT
so if any thing is wrong in above procedure then please say. (Manually by "cvs co ethereal" i am able to checkout the source)
Thanks
Divyesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20061104/0945a95f/attachment.html>
More information about the devel
mailing list