2023-08-12 14:01:42 +00:00
|
|
|
---
|
|
|
|
deploy_gitea_runner_version: latest
|
|
|
|
deploy_gitea_runner_deploy_method: host # deployment method, either host or docker.
|
|
|
|
deploy_gitea_runner_directory: /opt/gitea-actions
|
|
|
|
deploy_gitea_runner_timezone: "Europe/Paris"
|
|
|
|
deploy_gitea_runner_register: true
|
|
|
|
deploy_gitea_runner_start_service: true
|
2023-08-12 14:35:17 +00:00
|
|
|
deploy_gitea_runner_server_url: https://git.ednz.fr
|
|
|
|
deploy_gitea_runner_server_token: "secret-token"
|
2023-08-12 14:01:42 +00:00
|
|
|
deploy_gitea_runner_name: gitea-runner
|
|
|
|
deploy_gitea_runner_config:
|
|
|
|
log:
|
|
|
|
level: info
|
|
|
|
runner:
|
|
|
|
file: "{{ deploy_gitea_runner_directory }}/.runner" # this HAS TO BE .runner if deploy_gitea_runner_deploy_method is docker
|
|
|
|
capacity: 1
|
|
|
|
timeout: 3h
|
|
|
|
insecure: false
|
|
|
|
fetch_timeout: 5s
|
|
|
|
fetch_interval: 2s
|
2023-08-12 14:35:17 +00:00
|
|
|
labels: ["ubuntu-latest:host"]
|
2023-08-12 14:01:42 +00:00
|
|
|
cache:
|
|
|
|
enabled: true
|
|
|
|
dir: "{{ deploy_gitea_runner_directory }}/cache" # this HAS TO BE /cache if deploy_gitea_runner_deploy_method is docker
|
|
|
|
host: 127.0.0.1
|
|
|
|
port: 9898
|
|
|
|
external_server:
|
|
|
|
container:
|
|
|
|
network: ""
|
|
|
|
privileged: false
|
|
|
|
options: ""
|
|
|
|
workdir_parent:
|
|
|
|
valid_volumes: []
|
|
|
|
docker_host: "-"
|
|
|
|
host:
|
|
|
|
workdir_parent:
|