devel/gitea-runner: New port: Runner for Gitea Actions
Gitea Runner runs the jobs of Gitea Actions workflows, in containers
through a Docker-compatible API or directly on the host. It was called
act_runner before 1.0.0, and supersedes devel/gitea-act_runner.
- Fetch the source and go.mod from gitea.com, since the module path has
no /v6 suffix and the Go proxy refuses v6 versions
- Look for Podman's socket in /var/run/podman, where podman_service
puts it on FreeBSD, as well as in the places the runner already
checks
- Depend on git, which the runner runs to clone actions and reusable
workflows
- Install a minimal config.yaml, readable by the gitea-runner group
- Run several runners through gitea_runner_profiles, each with its own
user, config, pidfile and state directory, started in that directory
and after podman_service, and restarted by daemon(8)
- Set the runner's umask after daemon(8) switches users, so .runner and
the caches are not world-readable
- Log through syslog to /var/log/gitea-runner.log, rotated by
newsyslog, and have the rc script create the log file when it is
missing
- Add the gitea-runner user and group (809)
Release notes: https://gitea.com/gitea/runner/releases/tag/v6.1.0