From 1dda1b3d7bfc9e46e9c2ba7a9a0b1281f4546775 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Thu, 20 Jun 2019 22:22:40 +0800 Subject: [PATCH] feat(agent): runner name --- templates/drone-agent.env.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/drone-agent.env.j2 b/templates/drone-agent.env.j2 index 7418784..3e92029 100644 --- a/templates/drone-agent.env.j2 +++ b/templates/drone-agent.env.j2 @@ -8,3 +8,6 @@ DRONE_RPC_SECRET={{ drone_rpc_secret }} DRONE_RUNNER_CAPACITY={{ drone_runner_capacity }} {% endif %} DRONE_LOGS_DEBUG=true +{% if drone_runner_name is defined %} +DRONE_RUNNER_NAME={{ drone_runner_name }} +{% endif %}