set limits on drone

This commit is contained in:
Elizabeth Hunt 2024-03-26 18:31:37 -04:00
parent 061ae56381
commit 2a7c67899c
3 changed files with 9 additions and 1 deletions

View File

@ -3,3 +3,6 @@
drone_gitea_server: "https://git.hatecomputers.club"
drone_server_host: "https://ci.hatecomputers.club"
drone_admin_username: "gitea_admin"
drone_cpu_quota: "1000"
drone_memory_limit: "1000000000"
drone_workers: "2"

View File

@ -32,3 +32,6 @@ himmel.int.infra.hatecomputers.club ansible_user=root ansible_connection=ssh
[drone]
himmel.int.infra.hatecomputers.club ansible_user=root ansible_connection=ssh
[hatecomputers.club]
himmel.int.infra.hatecomputers.club ansible_user=root ansible_connection=ssh

View File

@ -27,4 +27,6 @@ services:
- DRONE_RPC_SECRET={{ drone_rpc_secret }}
- DRONE_RPC_HOST=drone:80
- DRONE_RPC_PROTO=http
- DRONE_RUNNER_CAPACITY=4
- DRONE_RUNNER_CAPACITY={{ drone_workers }}
- DRONE_CPU_QUOTA={{ drone_cpu_quota }}
- DRONE_MEMORY_LIMIT={{ drone_memory_limit }}