feat: add gitea-actions role for Gitea act-runner
- Create gitea-runner user with podman access - Install podman-docker for docker CLI compatibility - Download and configure act_runner binary - Systemd service for act_runner daemon - Host-mode runner labels for Fedora 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
30
ansible/roles/gitea-actions/templates/config.yaml.j2
Normal file
30
ansible/roles/gitea-actions/templates/config.yaml.j2
Normal file
@@ -0,0 +1,30 @@
|
||||
log:
|
||||
level: info
|
||||
|
||||
runner:
|
||||
file: .runner
|
||||
capacity: 1
|
||||
timeout: 3h
|
||||
insecure: false
|
||||
fetch_timeout: 5s
|
||||
fetch_interval: 2s
|
||||
labels:
|
||||
- ubuntu-latest:host
|
||||
- ubuntu-22.04:host
|
||||
- fedora:host
|
||||
|
||||
cache:
|
||||
enabled: true
|
||||
dir: {{ act_runner_work_dir }}/cache
|
||||
|
||||
container:
|
||||
network: host
|
||||
privileged: false
|
||||
options:
|
||||
workdir_parent:
|
||||
valid_volumes: []
|
||||
docker_host: ""
|
||||
force_pull: false
|
||||
|
||||
host:
|
||||
workdir_parent: {{ act_runner_work_dir }}/workdir
|
||||
Reference in New Issue
Block a user