k8s/forgejo-worker-config.yaml
Derek Slenk 430fb959b8 Add Forgejo CI/CD worker configurations
- Add worker config map with runner settings
- Add multiple worker deployment variants (simple, volume5, fixed, symlinks)
- Include full toolchain: Node.js, Go, Hugo, AWS CLI, Python
- Configure NFS-backed workspace and cache storage
- Set up auto-registration with git.deco.sh

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-17 14:09:16 -04:00

40 lines
No EOL
760 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: forgejo-worker-config
namespace: forgejo-workers
data:
config.yaml: |
log:
level: info
runner:
file: .runner
capacity: 2
envs:
A_TEST_ENV_NAME_1: a_test_env_value_1
A_TEST_ENV_NAME_2: a_test_env_value_2
env_file: .env
timeout: 3h
insecure: false
fetch_timeout: 5s
fetch_interval: 2s
labels: []
cache:
enabled: true
dir: /data/cache
host: ""
port: 0
container:
network: ""
privileged: true
options:
workdir_parent: /data/workspace
valid_volumes: []
docker_host: ""
force_pull: false
host:
workdir_parent: /data/workspace