BuildBot: Difference between revisions

From ASCEND
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
The ASCEND BuildBot is currently up and running at http://build.ascend4.org/. If you have a reliable machine that you can contribute as a build-slave, please let us know!
The ASCEND BuildBot is currently up and running at http://build.ascend4.org/. If you have a reliable machine that you can contribute as a build-slave, please let us know!
== Setting up a MinGW-w64 buildslave ==
Follow the instructions for [[setting up a MinGW-w64 build environment]]. Then, broadly following [http://sourceforge.net/apps/trac/mingw-w64/wiki/Setup%20a%20MSYS%20Buildbot%20Slave these instructions], we suggest:
* install [https://pypi.python.org/pypi/zope.interface zope.interface]. We used [https://pypi.python.org/packages/2.7/z/zope.interface/zope.interface-4.0.5.win-amd64-py2.7.exe zope.interface-4.0.5.win-amd64-py2.7.exe].
* install [http://twistedmatrix.com/trac/wiki/Downloads#Windows Twisted 64-bit for Windows]. We used .exe version 13.1.0.
* build and install BuildBot slave 0.8.7p1
wget https://pypi.python.org/packages/source/b/buildbot-slave/buildbot-slave-0.8.7p1.tar.gz --no-check-certificate
tar zxf buildbot-slave-0.8.7p1.tar.gz
cd buildbot-slave-0.8.7p1
python setup.py bdist_wininst
start dist/buildbot-slave-0.8.7p1.win-amd64.exe
* Setup the buildbot:
export BBSLAVEHOME=/home/buildslave
export BBSLAVENAME=''name''
export BBSLAVEPW=''password''
export BBHOST=build.ascend4.org
export BBPORT=''port number''
mkdir -p $BBSLAVEHOME/$BBSLAVENAME
cd $BBSLAVEHOME/$BBSLAVENAME
buildslave create-slave $BBSLAVEHOME/$BBSLAVENAME $BBHOST:$BBPORT $BBSLAVENAME $BBSLAVEPW
You can run the slave manually, just to test it, using
buildslave start $BBSLAVEHOME/$BBSLAVENAME
To get this running in a permanent way, however, you will want to install as a service. The suggested approach is...
See also:
* http://trac.buildbot.net/wiki/RunningBuildbotOnWindows
* http://www.mereidea.com/blog/2010/09/02/buildbot-slaves-as-a-windows-service-and-adding-a-testing-framework-unittest/


[[Category:Development]]
[[Category:Development]]

Revision as of 06:29, 18 August 2013

The ASCEND BuildBot is currently up and running at http://build.ascend4.org/. If you have a reliable machine that you can contribute as a build-slave, please let us know!

Setting up a MinGW-w64 buildslave

Follow the instructions for setting up a MinGW-w64 build environment. Then, broadly following these instructions, we suggest:

wget https://pypi.python.org/packages/source/b/buildbot-slave/buildbot-slave-0.8.7p1.tar.gz --no-check-certificate
tar zxf buildbot-slave-0.8.7p1.tar.gz
cd buildbot-slave-0.8.7p1
python setup.py bdist_wininst
start dist/buildbot-slave-0.8.7p1.win-amd64.exe
  • Setup the buildbot:
export BBSLAVEHOME=/home/buildslave
export BBSLAVENAME=name
export BBSLAVEPW=password
export BBHOST=build.ascend4.org
export BBPORT=port number
mkdir -p $BBSLAVEHOME/$BBSLAVENAME
cd $BBSLAVEHOME/$BBSLAVENAME
buildslave create-slave $BBSLAVEHOME/$BBSLAVENAME $BBHOST:$BBPORT $BBSLAVENAME $BBSLAVEPW

You can run the slave manually, just to test it, using

buildslave start $BBSLAVEHOME/$BBSLAVENAME

To get this running in a permanent way, however, you will want to install as a service. The suggested approach is...

See also: