Jeff Moe
07d4814106
|
5 years ago | |
---|---|---|
.. | ||
README.md | 5 years ago |
README.md
HOWTO set up buildbot
Install buster on two machines (KVMs) named: buildbot (master) bb1 (worker)
On buildbot KVM:
apt update apt install buildbot
Answer "Yes". This will install buildbot (server) and buildbot-worker.
man 7 buildbot
buildbot create-master /var/lib/buildbot/masters/fs
chown -R buildbot: /var/lib/buildbot/masters/fs
mv /var/lib/buildbot/masters/fs/master.cfg.sample /var/lib/buildbot/masters/fs/master.cfg
no changes?
vim /var/lib/buildbot/masters/fs/master.cfg
Test config is ok:
buildbot checkconfig /var/lib/buildbot/masters/fs/master.cfg
########################### Set /etc/default/buildbot to be like this (fs=Fork Sand): MASTER_RUNNER=/usr/bin/buildbot MASTER_ENABLED[1]=1 # 1-enabled, 0-disabled MASTER_NAME[1]="fs" # short name printed on start/stop MASTER_USER[1]="buildbot" # user to run master as MASTER_BASEDIR[1]="/var/lib/buildbot/masters/fs" # basedir to master (absolute path) MASTER_OPTIONS[1]="" # buildbot options MASTER_PREFIXCMD[1]="" # prefix command, i.e. nice, linux32, dchroot ###########################
Start it:
systemctl start buildbot@fs.service systemctl enable buildbot@fs.service