Gitea Runner Debian Repository
This repository provides Debian packages for gitea-runner.
Client Setup
Packages are published in the Debian package registry of this Gitea instance. Clients must run Debian stable: new versions are published into the distribution of the Debian stable release current at build time.
As root:
curl -fsSL https://git.24unix.net/api/packages/tracer/debian/repository.key -o /etc/apt/keyrings/24unix-gitea.asc
echo "deb [signed-by=/etc/apt/keyrings/24unix-gitea.asc] https://git.24unix.net/api/packages/tracer/debian $(. /etc/os-release; echo $VERSION_CODENAME) main" > /etc/apt/sources.list.d/24unix-gitea.list
apt update
apt install gitea-runner
The installed service is named gitea-runner.
The .deb files in this repository are the archive of every version built; the old trusted=yes source pointing at /raw/branch/master/ is no longer supported.
Building
This repository builds its own packages: build.sh writes the amd64 and arm64 .deb files into the repository root (stored with Git LFS), commits and pushes them, creates the Gitea release and uploads both files to the Debian package registry.
Requirements
curlgit-lfsjqwgetxz-utilsdpkg-devapt-utilsgit
Usage
Build the latest Gitea Runner release:
./build.sh
Build a specific version:
./build.sh 1.0.2
or:
GITEA_RUNNER_VERSION=1.0.2 ./build.sh
Rebuild an already published upstream version (packaging changes only), e.g. as 5.2.2-2:
PKG_REVISION=2 ./build.sh 5.2.2
Build and commit locally without pushing, releasing or uploading:
NO_PUBLISH=1 ./build.sh
The script downloads the Linux amd64 and arm64 release artifacts, verifies their SHA256 checksums, builds the .deb packages, regenerates Packages, Packages.gz and Release, and commits. It then pushes, creates the Gitea release and uploads to the registry. If the version is already built it prints SKIP: and only catches up on whatever is missing (unpushed commit, release, registry upload); wrapper.sh sends no mail for those runs with notify=success.
Systemd Timer
Install and enable the nightly build timer:
cp systemd/gitea-runner-build.service /etc/systemd/system/
cp systemd/gitea-runner-build.timer /etc/systemd/system/
systemctl daemon-reload
systemctl enable --now gitea-runner-build.timer
Check the timer:
systemctl list-timers gitea-runner-build.timer
Run the build manually through systemd:
systemctl start gitea-runner-build.service