Preparing the worker machine
- Install rocketgit
software on a machine
- Add a worker (Settings / Worker or Admin / Worker)
- Edit /etc/rocketgit/worker.conf (start with .sample file)
- Edit /etc/cron.d/rocketgit: uncomment the worker.sh line
Sample worker.conf:
type = user
user = my_rocketgit.com_user
name = Builder 1
master = r1.example.net
port = 65000
state = /var/lib/rocketgit/worker
key = this_is_the_key_used_when_the_worker_was_added
env = fedora-server-24-x86_64
type = libvirt
arch = x86_64
image = /var/lib/libvirt/images/rgw/fedora-server-24-x86_64.qcow2
pkg_cmd = dnf -y install
os-variant = fedora22
To debug the problems with the worker, check /var/log/rocketgit/worker-*.log