xaizek / rocketgit (License: AGPLv3+) (since 2018-12-09)
Light and fast Git hosting solution suitable to serve both as a hub or as a personal code storage with its tickets, pull requests, API and much more.
<root> / samples / worker-main.conf.sample (007f55a09a90dfe91f7868d418fde756997fcb81) (2,143B) (mode 100644) [raw]
# Type: is 'global' or 'user'
# This will affect the registration process with the server.
# If you do not have admin rights, set it to 'user'.
# If you have admin rights and you want this worker to be used by all users,
# set it to 'global'.
type = global

# If 'type' is 'user', please specify here your user name
#user = ...

# My identification (it will appear in the web interface)
name = Builder 1

# Where to connect for jobs
# or (new way):
# master = tcp://host:port
# master = proxy[-tls]://host[:port]/url
master = tcp://builder.x.com:65000

# rocketgit dir
state = /var/lib/rocketgit/worker

# This is used to be able to authenticate with the server
key = insert_your_pass_here

# libvirt XML templates dir (example file names: x86_64.xml, aarch64.xml)
templates = /var/lib/libvirt/images/rgw/templates

# disk images directory
images = /var/lib/libvirt/images/rgw/images

# Allow network access for the build process (root always has access)
# 1 = allow, else, do not allow
net = 0

# The user/group libvirtd is running under, for environments of type 'libvirt'.
# It is used to chown the images files.
libvirtd_user = qemu
libvirtd_group = qemu

# Available build environments
#env = fedora23-server-x86_64
#	type = libvirt
#	# A file named $templates/$arch.xml must exist
#	arch = x86_64
#	# You can specify a full path (if it starts with '/') or else
#	# is relative to 'images' global configuration
#	image = fedora23-server-x86_64.qcow2
#	'pkg_cmd' is optional; but, you can force it if you want
#	pkg_cmd = dnf -y install

#env = debian-8.2-i386
#	type = libvirt
#	arch = i386
#	image = debian-8.2-i386
#	'pkg_cmd' is optional; but, you can force it if you want
#	pkg_cmd = apt-get -y install

#env = arm-32-fedora-23
#	type = libvirt
#	arch = armv7l
#	image = arm-32-fedora-23.qcow2
#	paras = --boot kernel=/var/lib/libvirt/images/ARM-Server-23/vmlinuz-4.4.6-300.fc23.armv7hl,initrd=/var/lib/libvirt/images/ARM-Server-23/initramfs-4.4.6-300.fc23.armv7hl.img,kernel_args="console=ttyAMA0 rw root=LABEL=_/ rootwait"
#	'pkg_cmd' is optional; but, you can force it if you want
#	pkg_cmd = dnf -y install

#include = other_file
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/rocketgit

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/rocketgit

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master