Re: Buildbots [was: Test Suite on a mac]
I had offered my assistance a while ago, but I'm afraid that these days I don't have it. I do, however, have quite a bit of detail on setting up a buildbot system and the various configuration/python script bits if anyone wants them. I'd provided these to Matt, and would be more than happy to hand them over to anyone else if they'd like them. I'd built everything up within an Ubuntu linux VM and documented the process. I'm attaching the file if any of you would like it... -joe On Sat, Jul 12, 2008 at 2:22 PM, Chris Hasenpflug <[EMAIL PROTECTED]> wrote: > > On Jul 12, 2:21 pm, Jeff Anderson <[EMAIL PROTECTED]> wrote: >> Since no one else has spoken up, I'm willing to step up and maintain >> them. I've never set one up before, but I'm willing to take the time to >> learn the tool. I don't really have access to a windows server that >> could handle an instance, but I'm sure someone does. > > I too would be willing to help out. > > -C > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~--~~~~--~~--~--~--- # installed from basic Ubuntu linux 6.06 server # Create an initial user named "ubuntu", set the machine name to be "djangobuildserver" # install no additional base packages (DNS, Web, Lamp server, etc). # The ISO for Ubuntu 6.06 can be found at: # http://releases.ubuntu.com/6.06/ubuntu-6.06.1-server-i386.iso sudo bash vi /etc/apt/sources.list # enable all sources in /etc/apt/sources.list apt-get update apt-get dist-upgrade Installing the build slave components... sudo bash apt-get install ssh apt-get install subversion apache2 python-docutils libapache2-mod-python apt-get install python-psycopg postgresql-doc-8.1 postgresql-8.1 apt-get install postgresql-contrib-8.1 apt-get install python-imaging memcached unzip apt-get install lighttpd python-pysqlite2 apt-get install python-mysqldb mysql-server apt-get install buildbot apt-get install rrdtool librrd2-dev librrds-perl libcurl3 libcurl3-dev libcurl3-openssl-dev curl apt-get install make gcc python2.4-dev libc6-dev libmudflap0-dev flex bison apt-get install postgresql-server-dev-8.1 chown ubuntu:ubuntu /usr/local/src/ # # installing collectd for Ubuntu... # cd /usr/local/src/ # wget http://collectd.org/files/collectd-4.0.1.tar.bz2 # bzip2 -d collectd-4.0.1.tar.bz2 # tar xvf collectd-4.0.1.tar # cd collectd-4.0.1/ # ./configure && make && make install && make clean ## AS USER "ubuntu" # installing psycopg2 cd /usr/local/src/ wget http://initd.org/pub/software/psycopg/psycopg2-latest.tar.gz tar xvzf psycopg2-latest.tar.gz cd psycopg2-* python setup.py install sudo python setup.py install cd /usr/local/src/ wget http://twistedmatrix.com/users/acapnotic/wares/code/CVSToys/CVSToys-1.0.9.tar.bz2 bzip2 -d CVSToys-1.0.9.tar.bz2 tar xvf CVSToys-1.0.9.tar cd CVSToys-1.0.9 python setup.py install sudo bash vipw # change buildbot:x:1001:1001:BuildBot system user,,,:/var/run/buildbot:/bin/bash # to buildbot:x:1001:1001:BuildBot system user,,,:/home/buildbot:/bin/bash cd /home mkdir buildbot chown buildbot:buildbot buildbot # add additional "users" - one for each of the build slaves we'll be running adduser onebot adduser twobot adduser threebot ## AS USER "buildbot" sudo -u buildbot -s cd /home/buildbot buildbot master django_build cd django_build cp master.cfg.sample master.cfg vi master.cfg #-- # -*- python -*- # This is a sample buildmaster config file. It must be installed as # 'master.cfg' in your buildmaster's base directory (although the filename # can be changed with the --basedir option to 'mktap buildbot master'). # It has one job: define a dictionary named BuildmasterConfig. This # dictionary has a variety of keys to control different aspects of the # buildmaster. They are documented in docs/config.xhtml . import os.path from buildbot.changes.freshcvs import FreshCVSSource from buildbot.scheduler import Scheduler, Periodic from buildbot.process import step, factory from buildbot.status import html s = factory.s # This is the dictionary that the buildmaster pays attention to. We also use # a shorter alias to save typing. c = BuildmasterConfig = {} # the 'bots' list defines the set of allowable buildslaves. Each element is a # tuple of bot-name and bot-password. These correspond to values given to the # buildslave's mktap invocation. c['bots'] = [("onebot", "sekret"), ("twobot", "sekret"), ("threebot", "sekret"), ] # the 'sources' list tells the buildmaster how it
Re: Buildbots [was: Test Suite on a mac]
On Jul 12, 2:21 pm, Jeff Anderson <[EMAIL PROTECTED]> wrote: > Since no one else has spoken up, I'm willing to step up and maintain > them. I've never set one up before, but I'm willing to take the time to > learn the tool. I don't really have access to a windows server that > could handle an instance, but I'm sure someone does. I too would be willing to help out. -C --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~--~~~~--~~--~--~---
Re: Buildbots [was: Test Suite on a mac]
> learn the tool. I don't really have access to a windows server that > could handle an instance, but I'm sure someone does. I have an unused VMWare instance running Server 2003 that I suppose should be able to do the job. Michael --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~--~~~~--~~--~--~---
Re: Buildbots [was: Test Suite on a mac]
Jacob Kaplan-Moss wrote: That's the idea behind buildbots -- the "slaves" can be anywhere and report to the master. However, the current issue with the 'bots is that there's nobody really maintaining 'em. Matt -- who set 'em up -- just had a baby, so he understandably doesn't has as much free time any more. If someone knows what s/he's doing and wants to take over, let me know. Since no one else has spoken up, I'm willing to step up and maintain them. I've never set one up before, but I'm willing to take the time to learn the tool. I don't really have access to a windows server that could handle an instance, but I'm sure someone does. Jeff Anderson signature.asc Description: OpenPGP digital signature
Re: Test Suite on a mac
I have a windows xp license I could donate for that cause, winxp can be installed on a vm with vmware or KVM on top of a >2GB server. Ariel. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~--~~~~--~~--~--~---
Buildbots [was: Test Suite on a mac]
On Thu, Jul 10, 2008 at 3:07 PM, Marty Alchin <[EMAIL PROTECTED]> wrote: > I've wondered if it would be possible to set up a buildbot on a > Windows machine as well, since I recently found a bug[1] in our tests > that would've been caught earlier if we had one. I don't have access > to a box that could be dedicated to it, though. And of course, the > real trick is whether separate buildbots can all report their results > to the main instance, so they can all show up in the same place. That's the idea behind buildbots -- the "slaves" can be anywhere and report to the master. However, the current issue with the 'bots is that there's nobody really maintaining 'em. Matt -- who set 'em up -- just had a baby, so he understandably doesn't has as much free time any more. If someone knows what s/he's doing and wants to take over, let me know. Otherwise, they'll probably have to languish until I have a chance to learn the tool. Jacob --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~--~~~~--~~--~--~---
Re: Test Suite on a mac
On Thu, Jul 10, 2008 at 3:23 PM, Jeff Anderson <[EMAIL PROTECTED]> wrote: > So I'm a linux user, but I have a MBP. I was playing with the django test > suite a while back, and some test failed on my mac but would succeed on any > of my linux machines. After discovering the django buildbot, I thought it > might be useful to have a buildbot that runs on a mac. I've wondered if it would be possible to set up a buildbot on a Windows machine as well, since I recently found a bug[1] in our tests that would've been caught earlier if we had one. I don't have access to a box that could be dedicated to it, though. And of course, the real trick is whether separate buildbots can all report their results to the main instance, so they can all show up in the same place. -Gul [1] http://code.djangoproject.com/ticket/7696 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~--~~~~--~~--~--~---
Test Suite on a mac
So I'm a linux user, but I have a MBP. I was playing with the django test suite a while back, and some test failed on my mac but would succeed on any of my linux machines. After discovering the django buildbot, I thought it might be useful to have a buildbot that runs on a mac. At work we have a mac mini PowerPC running 10.4 server that does basically nothing most of the time. I've cleared it with my boss, and it is fine for me to set up a buildbot on that server. I don't know who is in charge of the current buildbot, but I'd hate to duplicate the effort of creating the config file for running one here. If this would be useful to the developers, I'll go ahead and proceed. If not, I won't. Let me know! Jeff Anderson signature.asc Description: OpenPGP digital signature