Difference between revisions of "User:Esden/buildbot slave"
(2 intermediate revisions by the same user not shown) | |||
Line 12: | Line 12: | ||
wget -O .zshrc http://git.grml.org/f/grml-etc-core/etc/zsh/zshrc | wget -O .zshrc http://git.grml.org/f/grml-etc-core/etc/zsh/zshrc | ||
chsh -s /usr/bin/zsh | chsh -s /usr/bin/zsh | ||
'''Note''': On Ubuntu precise <code>add-apt-repository</code> is not installed by default to add it run: | |||
sudo aptitude install python-software-properties | |||
Install paparazzi stuff: | Install paparazzi stuff: | ||
Line 33: | Line 36: | ||
You should of course adjust the '''yourslavename''' and '''yourslavepassword''' to the real values that you can get from a paparazzi developer with access to the buildmaster server. | You should of course adjust the '''yourslavename''' and '''yourslavepassword''' to the real values that you can get from a paparazzi developer with access to the buildmaster server. | ||
Configure the buildbot slave by pasting the following into <code>/etc/ | Configure the buildbot slave by pasting the following into <code>/etc/default/buildslave</code>: | ||
<syntaxhighlight lang="python"> | <syntaxhighlight lang="python"> | ||
SLAVE_ENABLED[1]=1 | SLAVE_ENABLED[1]=1 |
Latest revision as of 02:18, 22 September 2014
These are my own notes on the needed steps to install a buildbot slave instance. This is work in progress! So as always the typical disclaimers apply. It is probably incomplete and broken. :P
For ease of use you can now also copy over the .ssh/authorized_keys file
Update system:
sudo aptitude update sudo aptitude safe-upgrade
Install usability stuff:
sudo aptitude install mosh zsh wget -O .zshrc http://git.grml.org/f/grml-etc-core/etc/zsh/zshrc chsh -s /usr/bin/zsh
Note: On Ubuntu precise add-apt-repository
is not installed by default to add it run:
sudo aptitude install python-software-properties
Install paparazzi stuff:
sudo add-apt-repository ppa:paparazzi-uav/ppa sudo aptitude update sudo aptitude install paparazzi-dev paparazzi-jsbsim
Install gcc-arm-embedded:
sudo add-apt-repository ppa:terry.guo/gcc-arm-embedded sudo aptitude update sudo aptitude install gcc-arm-none-eabi
Install buildbot slave:
sudo aptitude install buildbot-slave
Initialize buildbot slave directory:
cd /var/lib/buildbot/slaves sudo buildslave create-slave paparazzi_uav_slave buildbot.paparazziuav.org:9989 yourslavename yourslavepassword sudo chown -R buildbot:buildbot paparazzi_uav_slave
You should of course adjust the yourslavename and yourslavepassword to the real values that you can get from a paparazzi developer with access to the buildmaster server.
Configure the buildbot slave by pasting the following into /etc/default/buildslave
:
SLAVE_ENABLED[1]=1
SLAVE_NAME[1]="paparazzi uav slave"
SLAVE_USER[1]="buildbot"
SLAVE_BASEDIR[1]="/var/lib/buildbot/slaves/paparazzi_uav_slave"
SLAVE_OPTIONS[1]=""
SLAVE_PREFIXCMD[1]=""
Start the buildslave service:
sudo service buildslave start