Run Forgejo Actions runner as a cluster Deployment on rpi.

Reuses the existing pi-runner registration and host Docker socket.
Compose runner is stopped so it cannot double-poll.
This commit is contained in:
Sirius DevOps 2026-09-11 22:24:41 -04:00
commit 5e1a2b4f8d
No known key found for this signature in database
3 changed files with 116 additions and 0 deletions

View file

@ -0,0 +1,22 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: forgejo-runner-config
namespace: forgejo
data:
config.toml: |
log:
level: info
runner:
file: /config/runner.ini
capacity: 2
timeout: 1h
cache: /opt/siriusdevops/runner/cache
cache:
enabled: true
dir: /opt/siriusdevops/runner/cache
container:
privileged: true
options: -v /usr/local/bin/docker-static:/usr/bin/docker:ro -v /opt/siriusdevops/runner/cli-plugins:/usr/local/lib/docker/cli-plugins:ro -v /var/run/docker.sock:/var/run/docker.sock
valid_volumes:
- "**"