Open main menu

Difference between revisions of "Buildbot"

148 bytes added ,  11:04, 29 February 2020
Line 49: Line 49:
== Administration ==
== Administration ==


When the buildbot config files are changed, a user with shell access and sudo privileges needs to run the following commands. It's good practice to do this once buildbot is idle. The reconfig step serves as a test. It will throw a warning if there's anything wrong with the buildbot config:
When the buildbot config files are changed, a user with shell access and sudo privileges needs to run the following commands. It's good practice to do this once buildbot is idle.


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
sudo -u buildbot bash
sudo su -s /bin/bash buildbot
cd ~/scummvm-sites
cd /var/lib/buildbot/scummvm-sites
git pull --ff-only
git pull --ff-only
cd ~/scummvm-master
</syntaxhighlight>
buildbot reconfig
 
buildbot restart
Exit out from buildbot's shell by running "exit" or pressing CTRL+D.
Then, you can restart the buildbot master and slave process(es) through the systemd services:
 
<syntaxhighlight lang="bash">
sudo systemctl restart buildbot-master
sudo systemctl restart buildbot-slave
</syntaxhighlight>
</syntaxhighlight>


333

edits