Configurazione di Buildbot per BSD
Ecco come ho installato e configurato uno slave di buildbot su un PC-BSD 9.
Aggiungere un utente buildbot:
sudo adduser buildbot /bin/sh
Python era già installato.
Bazaar era già installato.
NTP era già installato.
Installare Zope3
cd /usr/ports/www/zope3 sudo make install clean # accepted default options cd /usr/ports/devel/py-zope.interface sudo make install clean
Installare Twisted
cd /usr/ports/devel/py-twisted sudo make install clean # accepted default options
Installare ccache
cd /usr/ports/devel/ccache sudo make install clean # accepted default options
Eseguire una compilazione di prova di MariaDB
cd cd src/maria/build BUILD/compile-pentium64-max # test compile appeared to work
Installare buildbot
cd /usr/ports/devel/buildbot sudo make install clean # accepted default options
Creare lo slave buildbot
Sul build master,aggiungere una voce a /etc/buildbot/maria-master-private.cfg
slave-name=bsd9
Ricordarsi il ${nome-slave} e la ${password} impostati sopra, vengono usati nel prossimo step.
Tornare su bsd9
sudo su - buildbot buildslave create-slave --usepty=0 /home/buildbot/maria-slave \ hasky.askmonty.org:9989 ${slave-name} ${password} echo '${contact-email-address}' > /home/buildbot/maria-slave/info/admin echo 'A host running PC-BSD 9.' > /home/buildbot/maria-slave/info/host bzr init-repo maria-slave/bsd9 exit
Avviare il buildslave
sudo su - buildbot buildslave start maria-slave
Creare la directory di archivio
sudo su - buildbot
mkdir archive
exit
sudo ln -s /home/buildbot/archive /archive
Installare Apache
cd /usr/ports/www/apache22 sudo make install clean # accepted default options
Configurare Apache:
sudo su -s echo 'apache22_enable="YES"' >> /etc/rc.conf echo 'alias /archive "/archive"\ <Directory "/archive">\ Options All Multiviews\ AllowOverride All\ Order allow,deny\ Allow from all\ </Directory>' >> /usr/local/etc/apache22/httpd.conf sudo /usr/local/etc/rc.d/apache22 start
Installare md5sum
md5sum already installed at /compat/linux/usr/bin/md5sum edited /home/buildbot/.profile and added that dir to the path # That didn't work, so did the following: cd /usr/local/bin/ sudo ln -s /compat/linux/usr/bin/md5sum md5sum
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.