From ca07bad65b4624cc383eae65c71720297d9777d0 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 21 Oct 2020 20:26:10 +0000 Subject: [PATCH] commit a131c1b7fce1c494fb34b419fc110261384269d1 Author: Robert Kaussow Date: Wed Oct 21 22:19:37 2020 +0200 fix image version handling --- index.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/index.md b/index.md index c5f0a4a..083fd44 100644 --- a/index.md +++ b/index.md @@ -14,6 +14,7 @@ Setup [Drone CI autoscaler](https://autoscale.drone.io/). * [droneci_autoscaler_agent_os](#droneci_autoscaler_agent_os) * [droneci_autoscaler_agent_package_upgrade](#droneci_autoscaler_agent_package_upgrade) * [droneci_autoscaler_agent_token](#droneci_autoscaler_agent_token) + * [droneci_autoscaler_agent_version](#droneci_autoscaler_agent_version) * [droneci_autoscaler_agent_volumes](#droneci_autoscaler_agent_volumes) * [droneci_autoscaler_db_type](#droneci_autoscaler_db_type) * [droneci_autoscaler_exposed_ports](#droneci_autoscaler_exposed_ports) @@ -70,7 +71,8 @@ droneci_autoscaler_agent_concurrency: 2 #### Default value ```YAML -droneci_autoscaler_agent_image: drone/drone-runner-docker:1.5 +droneci_autoscaler_agent_image: drone/drone-runner-docker:{{ droneci_autoscaler_agent_version + }} ``` ### droneci_autoscaler_agent_os @@ -97,6 +99,14 @@ droneci_autoscaler_agent_package_upgrade: false droneci_autoscaler_agent_token: myveryownsecret ``` +### droneci_autoscaler_agent_version + +#### Default value + +```YAML +droneci_autoscaler_agent_version: latest +``` + ### droneci_autoscaler_agent_volumes #### Default value @@ -143,7 +153,7 @@ droneci_autoscaler_gc_enabled: false #### Default value ```YAML -droneci_autoscaler_image: drone/autoscaler:latest +droneci_autoscaler_image: drone/autoscaler:{{ droneci_autoscaler_version }} ``` ### droneci_autoscaler_instances