aboutsummaryrefslogtreecommitdiff
path: root/bbot/bbot-agent@.service
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-03 12:07:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-03 12:07:02 +0200
commitf5ab412da304e3970a6b5b3290758ed791c31881 (patch)
tree28ddc870029302d6a26209dba0f73b3ce692744d /bbot/bbot-agent@.service
parentfa5ebd101b792fdf038394f0aaa4a4ab8e28dab6 (diff)
Pass toolchain name/version to controller
Diffstat (limited to 'bbot/bbot-agent@.service')
-rw-r--r--bbot/bbot-agent@.service2
1 files changed, 2 insertions, 0 deletions
diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service
index dd7ca21..66d46f4 100644
--- a/bbot/bbot-agent@.service
+++ b/bbot/bbot-agent@.service
@@ -18,6 +18,7 @@ Environment=REQUEST_TIMEOUT=300
Environment=TOOLCHAIN_NAME=%i
Environment=TOOLCHAIN_NUM=1
+Environment=TOOLCHAIN_VER=
Environment=TOOLCHAIN_ID=
Environment="CONTROLLER_URL="
@@ -34,6 +35,7 @@ ExecStart=/build/bots/%i/bin/bbot-agent --systemd-daemon \
--request-timeout ${REQUEST_TIMEOUT} \
--toolchain-name ${TOOLCHAIN_NAME} \
--toolchain-num ${TOOLCHAIN_NUM} \
+ --toolchain-ver ${TOOLCHAIN_VER} \
--toolchain-id ${TOOLCHAIN_ID} \
$CONTROLLER_TRUST \
$CONTROLLER_URL