One great way to contribute to MariaDB development is to run a buildbot builder. These builders are used for running automated builds and tests of MariaDB. The instructions on this page should help you get a builder set up on Ubuntu and Debian.
For Ubuntu and Debian, a quick way to install much of what you need is:
If you're running a version of Debian or Ubuntu that doesn't have MariaDB, then do the following:
After running one (or both) of the above, run the following to catch things that they may have missed:
After setting up the build environment do a test build to confirm that things are working. First get the source code using the git instructions on the page, then follow the steps on the page for building MariaDB using cmake. If your build succeeds, you're ready to move on to the next step of installing and configuring buildbot.
Do not hesitate to ask for help on the mailing list or on .
The easiest way to install buildbot on Ubuntu and Debian is to install the buildbot-slave package, like so:
Another way to install buildbot is using the Python pip package manager. Pip can be installed with:
Next install twisted and the buildbot-slave package using pip:
After the buildbot-slave package is installed (either via apt or pip), you need to create the builder using the buildslave create-slave command. As part of this command you will need to specify a name for your buildslave and a password. Both need to be given to the MariaDB Buildbot maintainers so that they can add your builder to the build pool. Ask on the mailing list or on for who these people are.
An example command for creating the slave is:
If you installed buildbot using pip, the convention is to create a buildbot user and then, as that user, create the buildslave in the home directory like so:
Put some appropriate info in info/admin and info/host files that are created, this will display on the information screen about your builder. See here for example:
Submit your builder information to the MariaDB Buildbot admins. Also let them know if your machine can run multiple builds at the same time (and how many). After adding your builder's information to the main buildbot configuration, all that's left is for you to do is to start your builder.
If you installed your builder using apt, then you can start and stop it with:
If you installed your buildslave using pip, then do the following as the buildbot user in their home directory:
This page is licensed: CC BY-SA / Gnu FDL
sudo apt-get build-dep mariadb-serversudo apt-get build-dep mysql-serversudo apt-get install devscripts fakeroot doxygen texlive-latex-base ghostscript libevent-dev libssl-dev zlib1g-dev libpam0g-dev libreadline-gplv2-dev autoconf automake automake1.11 dpatch ghostscript-x libfontenc1 libjpeg62 libltdl-dev libltdl7 libmail-sendmail-perl libxfont1 lmodern texlive-latex-base-doc ttf-dejavu ttf-dejavu-extra libaio-dev xfonts-encodings xfonts-utils libxml2-dev unixodbc-dev bzr scons check libboost-all-dev openssl epm libjudy-dev libjemalloc-dev libcrack2-dev git libkrb5-dev libcurl4-openssl-dev thrift-compiler libsystemd-dev dh-systemd libssl1.0.2 openjdk-8-jdk uuid-dev libnuma-dev gdb libarchive-dev libasio-dev dh-execsudo apt-get install buildbot-slavesudo apt-get install python-pipsudo pip install twisted==11.0.0
sudo pip install buildbot-slave==0.8.9sudo buildslave create-slave /var/lib/buildbot/slaves/maria buildbot.askmonty.org slavename passwordsudo buildslave create-slave ~/maria-slave buildbot.askmonty.org slavename passwordsudo /etc/init.d/buildslave start
sudo /etc/init.d/buildslave stopbuildslave start maria-slave
buildslave stop maria-slave