Description
Forgejo
Forgejo is a painless self-hosted Git service written in Go.
Runner
Run Forge Actions
Runner is a daemon for Forgejo instances that runs jobs for continuous integration.
Installation Instructions
Install Runner
-
Prepare container environment
dnf install container-tools -
Create a lingered user (actions)
# The assumption is, that it is not used as real user. Therefore this service user useradd actions loginctl enable-linger actions -
Install forge-runner
dnf copr enable ne0l/forgejo dnf install forgejo-runner -
Add in users environment support for systemctl accessability:
$ tail -8 .bash_profile # User specific environment and startup programs if [[ -z "${XDG_RUNTIME_DIR}" ]]; then XDG_RUNTIME_DIR=/run/user/$(id -u) export XDG_RUNTIME_DIR fi export DOCKER_HOST=unix:///run/user/$(id -u)/podman/podman.sock -
Enable podman.socket as user actions
$ systemctl --user start podman.socket $ systemctl --user enable podman.socket # Get some images $ podman pull registry.fedoraproject.org/fedora:39 $ podman pull quay.io/centos/centos:stream9 $ podman pull quay.io/rockylinux/rockylinux:9 -
Enable runner as user actions
# {FORGE} your forgejo instance, {TOKEN} your token (via GUI) # Register (config is saved into .runner in the current working directory) $ forgejo-runner register --no-interactive --instance "{FORGE}:3000" --name runner --token {TOKEN} --config /etc/forgejo-runner/config.yml # Start runner (config is saved into .runner in the current working directory that was used while registering, to start use the same cwd - normally $HOME) $ forgejo-runner --config /etc/forgejo-runner/config.yml daemon
Active Releases
The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).
Release | Architectures | Repo Download |
---|---|---|
Centos-stream 9 | aarch64 (0)*, x86_64 (8)* | Centos-stream 9 (34 downloads) |
Fedora 39 | aarch64 (0)*, x86_64 (4)* | Fedora 39 (44 downloads) |
Fedora 40 | aarch64 (0)*, x86_64 (17)* | Fedora 40 (54 downloads) |
Fedora 41 | aarch64 (0)*, x86_64 (11)* | Fedora 41 (12 downloads) |
Fedora rawhide | aarch64 (0)*, x86_64 (4)* | Fedora rawhide (33 downloads) |
Rhel 9 | aarch64 (0)*, x86_64 (10)* | Rhel 9 (33 downloads) |
* Total number of downloaded packages.
Quick Enable
#> dnf copr enable ne0l/forgejo
More info about enabling Copr repositories