User:Esden/buildbot slave
Jump to navigation
Jump to search
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
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/defaults/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]=""