set limits on drone
This commit is contained in:
parent
061ae56381
commit
2a7c67899c
|
@ -3,3 +3,6 @@
|
||||||
drone_gitea_server: "https://git.hatecomputers.club"
|
drone_gitea_server: "https://git.hatecomputers.club"
|
||||||
drone_server_host: "https://ci.hatecomputers.club"
|
drone_server_host: "https://ci.hatecomputers.club"
|
||||||
drone_admin_username: "gitea_admin"
|
drone_admin_username: "gitea_admin"
|
||||||
|
drone_cpu_quota: "1000"
|
||||||
|
drone_memory_limit: "1000000000"
|
||||||
|
drone_workers: "2"
|
||||||
|
|
|
@ -32,3 +32,6 @@ himmel.int.infra.hatecomputers.club ansible_user=root ansible_connection=ssh
|
||||||
|
|
||||||
[drone]
|
[drone]
|
||||||
himmel.int.infra.hatecomputers.club ansible_user=root ansible_connection=ssh
|
himmel.int.infra.hatecomputers.club ansible_user=root ansible_connection=ssh
|
||||||
|
|
||||||
|
[hatecomputers.club]
|
||||||
|
himmel.int.infra.hatecomputers.club ansible_user=root ansible_connection=ssh
|
||||||
|
|
|
@ -27,4 +27,6 @@ services:
|
||||||
- DRONE_RPC_SECRET={{ drone_rpc_secret }}
|
- DRONE_RPC_SECRET={{ drone_rpc_secret }}
|
||||||
- DRONE_RPC_HOST=drone:80
|
- DRONE_RPC_HOST=drone:80
|
||||||
- DRONE_RPC_PROTO=http
|
- 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 }}
|
||||||
|
|
Loading…
Reference in New Issue