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.conf.sample (98460f0bcd5e1f9161f936f204738fd755c5d276) (1,426B) (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
name = Builder 1

# Where to connect for jobs
master = build.example.com
port = 65000

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

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

# Available build environments
# os-variant can be set by 'osinfo-query os' command; it is used for virtio
#env = fedora23-server-x86_64
#	type = libvirt
#	arch = x86_64
#	image = /var/lib/libvirt/images/rgw/fedora23-server-x86_64.qcow2
#	pkg_cmd = dnf -y install
#	os-variant = fedora22

#env = debian-8.2-i386
#	type = libvirt
#	arch = i386
#	image = /var/lib/libvirt/images/rgw/debian-8.2-i386
#	pkg_cmd = apt-get -y install
#	os-variant = debian8

#env = arm-32-fedora-23
#	type = libvirt
#	arch = armv7l
#	image = /var/lib/libvirt/images/rgw/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 = dnf -y install
#	os-variant = fedora22
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