These scripts are used to generate the binaries on borg.bauerj.eu. Everything is just hacked together but if you really want to use these scripts yourself:
You need to set up at least the following in order to use the scripts:
build-essential
build.py
if you use something else to start the VMs or don't use VMs.build.py
.This is probably incomplete. If you find something missing, please open a PR.
check_release.py
This script just checks if a binary for the current version already exists.
It is used in a systemd timer to start build.py
.
build.py
This is used to start the build. You can pass a tag name or commit hash to it to build that instead of the latest tag. It uses systemd to start the VMs and SSH to log into them.
build_on_device.py
As the name suggests, this script runs inside the VM to actually build the binary.