Initial Gitea Runner Debian builder

This commit is contained in:
2026-05-08 18:36:54 +02:00
commit c6ab070c09
13 changed files with 299 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
Package: gitea-runner
Version: 1.0.0
Architecture: amd64
Maintainer: Micha Espey <tracer@24unix.net>
Depends: adduser, ca-certificates, git, gpg, jq
Replaces: act-runner, act_runner
Conflicts: act-runner, act_runner
Description: Gitea Runner - official runner for Gitea Actions
Official runner for Gitea Actions.
+18
View File
@@ -0,0 +1,18 @@
#!/bin/sh
set -e
if ! getent group gitea-runner >/dev/null; then
addgroup --system gitea-runner
fi
if ! id gitea-runner >/dev/null 2>&1; then
adduser --system --home /var/lib/gitea-runner --shell /usr/sbin/nologin --ingroup gitea-runner gitea-runner
fi
install -d -o gitea-runner -g gitea-runner -m 0750 /var/lib/gitea-runner
install -d -o root -g root -m 0755 /etc/gitea-runner
systemctl daemon-reload
systemctl enable gitea-runner || true
exit 0
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
set -e
systemctl stop gitea-runner || true
exit 0