canmove, Confirmed users
6,441
edits
No edit summary |
|||
| Line 29: | Line 29: | ||
cd .. | cd .. | ||
rm -rf buildbot/ | rm -rf buildbot/ | ||
== Configure VNC Server == | == Configure VNC Server == | ||
| Line 40: | Line 37: | ||
== Configure Apache == | == Configure Apache == | ||
=== Talos page set and framecycler === | |||
cd ~ | |||
cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d talos mozilla/testing/performance/talos | |||
You will need to install a page set in ~/talos/page_load_test.<br /> | |||
If you are using the new (chrome based) pageloader, do the following: | |||
cd ~/talos/page_load_test | |||
wget http://people.mozilla.com/~bhearsum/QA/Talos/Ref-Platform-Files/tpcomponent.zip | |||
unzip tpcomponent.zip | |||
rm tpcomponent.zip | |||
=== The rest === | |||
Open /etc/apache2/sites-available/default and change the DocumentRoot and second <Directory> tag to '/home/mozqa/talos'. | Open /etc/apache2/sites-available/default and change the DocumentRoot and second <Directory> tag to '/home/mozqa/talos'. | ||
Open up /etc/apache2/conf.d/charset and comment out the AddCharset line as so: | Open up /etc/apache2/conf.d/charset and comment out the AddCharset line as so: | ||
| Line 46: | Line 53: | ||
/etc/init.d/apache2 restart | /etc/init.d/apache2 restart | ||
Test the installation by browsing to 'http://localhost/page_load_test/framecycler.html'. The browser should cycle through many pages rapidly. | Test the installation by browsing to 'http://localhost/page_load_test/framecycler.html'. The browser should cycle through many pages rapidly. | ||
== Setting up a Buildbot Slave == | |||
How to setup a Buildbot Talos slave (replace the master.host, username, and password with the correct values) | |||
cd ~ | |||
mkdir talos-slave | |||
buildbot create-slave talos-slave master.host:9989 username password | |||
You should then start the slave once to create the proper directory structure. | |||
buildbot start talos-slave | |||
buildbot stop talos-slave | |||
The "build directory" will have been created at this point. Talos needs to be checked out into that directory. Open a command line and cd to it, then run the following command: | |||
cvs -d:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -d talos mozilla/testing/performance/talos | |||
= Updating Talos = | |||
When you need to update Talos to the latest in cvs you will have to update both the Apache copy and the Buildbot copy. To do this, do the following (replacing $WORKDIR with the right value): | |||
cd ~/talos | |||
cvs up | |||
cd ~/talos-slave/$WORKDIR/talos | |||
cvs up | |||
You do not need to restart Apache or Buildbot after this. | |||