Development Team/Buildbot: Difference between revisions

Line 41: Line 41:
easy to set one up.
easy to set one up.


1. Setup a dedicated user account for the slave, usually named buildbot.
* Setup a dedicated user account for the slave, usually named buildbot.
2. Run a sugar-jhbuild on it, make sure that it's passing the sanity check (all
* Run a sugar-jhbuild on it, make sure that it's passing the sanity check (all the depencies are installed) and the build succeed.
the depencies are installed) and the build succeed.
* Install buildbot.
3. Install buildbot.
* Setup the slave. Name it by the distribution it's runned on, for example fedora9.
4. Run the buildbot command as follows. Name it by the distribution it's runned
on, for example fedora9.


  buildbot create-slave slave sugarlabs2.xen.prgmr.com:9989 SLAVENAME PASSWORD
  buildbot create-slave slave sugarlabs2.xen.prgmr.com:9989 SLAVENAME PASSWORD
cd slave
mv Makefile.sample Makefile


5. Get in contact with [[User::Marcopg]] to setup the builders on the master.
* Run the slave:
 
make start
 
* Get in contact with master administrator to setup the builders.