diff --git a/index.md b/index.md index 3aad95c..9d61050 100644 --- a/index.md +++ b/index.md @@ -11,10 +11,9 @@ Setup Drone CI docker runner * [droneci_runner_docker_capacity](#droneci_runner_docker_capacity) * [droneci_runner_docker_container_name](#droneci_runner_docker_container_name) * [droneci_runner_docker_image](#droneci_runner_docker_image) - * [droneci_runner_docker_memory_limit](#droneci_runner_docker_memory_limit) - * [droneci_runner_docker_memory_reservation](#droneci_runner_docker_memory_reservation) * [droneci_runner_docker_networks](#droneci_runner_docker_networks) * [droneci_runner_docker_networks_applied](#droneci_runner_docker_networks_applied) + * [droneci_runner_docker_resources](#droneci_runner_docker_resources) * [droneci_runner_docker_secret](#droneci_runner_docker_secret) * [droneci_runner_docker_server](#droneci_runner_docker_server) * [droneci_runner_docker_service_directory](#droneci_runner_docker_service_directory) @@ -52,34 +51,6 @@ droneci_runner_docker_image: drone/drone-runner-docker:{{ droneci_runner_docker_ }} ``` -### droneci_runner_docker_memory_limit - -#### Default value - -```YAML -droneci_runner_docker_memory_limit: _unset_ -``` - -#### Example usage - -```YAML -droneci_runner_docker_memory_limit: 512m -``` - -### droneci_runner_docker_memory_reservation - -#### Default value - -```YAML -droneci_runner_docker_memory_reservation: _unset_ -``` - -#### Example usage - -```YAML -droneci_runner_docker_memory_reservation: 256m -``` - ### droneci_runner_docker_networks #### Default value @@ -108,6 +79,26 @@ droneci_runner_docker_networks_applied: - droneci ``` +### droneci_runner_docker_resources + +#### Default value + +```YAML +droneci_runner_docker_resources: _unset_ +``` + +#### Example usage + +```YAML +droneci_runner_docker_resources: + limits: + cpus: "0.50" + memory: 50M + reservations: + cpus: "0.25" + memory: 20M +``` + ### droneci_runner_docker_secret #### Default value