geocrop-platform./k8s/base/gitea-runner-config.yaml

35 lines
926 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: gitea-runner-config
namespace: geocrop
data:
config.yaml: |
log:
level: debug
runner:
file: .runner
capacity: 2
timeout: 3h
fetch_timeout: 5s
fetch_interval: 2s
labels:
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
- "ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04"
- "ubuntu-22.04:docker://docker.gitea.com/runner-images:ubuntu-22.04"
envs:
DOCKER_HOST: "tcp://localhost:2375"
cache:
enabled: true
dir: ""
host: ""
port: 0
container:
privileged: true
network: host
docker_host: "tcp://localhost:2375"
force_pull: true
options: "--add-host git.techarvest.co.zw:10.43.224.21 --add-host gitea.geocrop.svc.cluster.local:10.43.224.21"
valid_volumes:
- "/certs/client"