ReleaseEngineering/How To/Setup Personal Development Master: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 155: Line 155:
* Visit http://slavealloc.build.mozilla.org/ui/#masters
* Visit http://slavealloc.build.mozilla.org/ui/#masters
* Modify the FQDN of the master and the port (e.g. dev-master01.build.mozilla.org)
* Modify the FQDN of the master and the port (e.g. dev-master01.build.mozilla.org)
= Setting up a local slave =
<pre>
cd /path/to/master
source ./bin/activate
buildslave --help
</pre>
The buildslave command should be available at this point, if not:
<pre>pip install buildbot-slave</pre>
Now we create a slave using the directory my-slave in the master directory.
<ul>
<li>To find the relevant ports, check master/master_localconfig.py</li>
<li>The port to access your master via the browser is under WebStatus. </li>
<li>The port for slave access (used when creating a slave) is under slavePortnum.</li>
<li>Choose a slave name that the master is already looking for. To find one go to 127.0.0.1:{browserport}/builders, select a builder (OS X 10.6.2 mozilla-central nightly for example) and choose one of the names under "Buildslaves"
</li>
<pre>
# From the master's directory
buildslave create-slave my-slave 127.0.0.1:<port> <name> pass
</pre>
If you haven't already, start the master, then start the slave
<pre>
cd /path/to/master
make start
# Start the slave
cd my-slave
buildslave start
</pre>
Your slave should be picked up momentarily by the master.


= Pointing dev slaves to your master =
= Pointing dev slaves to your master =
31

edits

Navigation menu