forgejo-runner(host): configure forgejo-runner setup
This commit is contained in:
parent
e83b6ff318
commit
edd1984517
4 changed files with 51 additions and 5 deletions
|
|
@ -0,0 +1,43 @@
|
|||
log:
|
||||
level: info
|
||||
job_level: info
|
||||
|
||||
runner:
|
||||
file: .runner
|
||||
capacity: 4
|
||||
timeout: 1h
|
||||
shutdown_timeout: 30m
|
||||
insecure: false
|
||||
fetch_timeout: 30s
|
||||
fetch_interval: 2s
|
||||
report_interval: 1s
|
||||
labels:
|
||||
# https://forgejo.org/docs/latest/admin/actions/configuration/#choosing-labels
|
||||
- docker:docker://docker.io/library/node:lts
|
||||
|
||||
cache:
|
||||
enabled: false
|
||||
|
||||
container:
|
||||
# Leave emtpy to create a network automatically.
|
||||
network: ""
|
||||
enable_ipv6: true
|
||||
privileged: false
|
||||
## Something like this once gVisor can be used.
|
||||
## options: "--runtime=runsc --mount type=bind,src=/etc/gvisor-helper-resolv.conf,dst=/etc/resolv.conf,ro=true"
|
||||
# Leave empty for default /workspace to be used.
|
||||
workdir_parent:
|
||||
## Something like this once gVisor can be used.
|
||||
## Add /etc/gvisor-helper-resolv.conf to valid_volumes to make the bind-mount in options work.
|
||||
## valid_volumes: ["/etc/gvisor-helper-resolv.conf:ro"]
|
||||
# Leave "-", so no docker host will be mounted in the job container.
|
||||
docker_host: "-"
|
||||
force_pull: true
|
||||
force_rebuild: false
|
||||
|
||||
server:
|
||||
connections:
|
||||
ccchh-git:
|
||||
url: https://git.hamburg.ccc.de/
|
||||
uuid: c672834d-3d63-4471-894e-80f6888eb4de
|
||||
token: {{ secret__forgejo_runner_ccchh_git_token }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue