792 B
792 B
Forgejo Runner Setup
Obtaining the Registration Token
- Log in to the Forgejo instance at
https://forgejo.contrapeso.xyz - Go to Site Administration > Actions > Runners
- Click Create new runner
- Copy the registration token
Configuring the Token
Paste the token into ansible/infra_secrets.yml:
forgejo_runner_registration_token: "YOUR_TOKEN_HERE"
Running the Playbook
ansible-playbook ansible/services/forgejo-runner/deploy_forgejo_runner_playbook.yml
Verifying
- On the VM:
systemctl status forgejo-runnershould show active - In Forgejo: Site Administration > Actions > Runners should show the runner as online
- In Uptime Kuma: the
forgejo-runner-healthcheckpush monitor should be receiving pings