aboutsummaryrefslogtreecommitdiff
path: root/bbot/bbot-agent@.service
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-18 13:29:50 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-18 13:29:50 +0200
commit0e2f76b6f0ecb4b4c00a4c8001843b3c54bc08ad (patch)
tree3f0735a7b7e0be27823b23e24806fe9650548dc6 /bbot/bbot-agent@.service
parent1804e3e8cf3b8f1bb14e197dada1697c40bed144 (diff)
Finish agent and worker logic
Diffstat (limited to 'bbot/bbot-agent@.service')
-rw-r--r--bbot/bbot-agent@.service14
1 files changed, 10 insertions, 4 deletions
diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service
index af760b3..5f160cf 100644
--- a/bbot/bbot-agent@.service
+++ b/bbot/bbot-agent@.service
@@ -12,9 +12,13 @@ Environment=RAM=1048576
Environment=BOOTSTRAP_TIMEOUT=600
Environment=BUILD_TIMEOUT=1800
+Environment=REQUEST_TIMEOUT=300
-Environment=TOOLCHAIN_ID=123abc
+Environment=TOOLCHAIN_NAME=%i
Environment=TOOLCHAIN_NUM=1
+Environment=TOOLCHAIN_ID=
+
+Environment="CONTROLLER_URL=https://example.org/?build-task"
ExecStart=/build/bbot/%i/bin/bbot-agent --systemd-daemon \
--verbose ${VERBOSE} \
@@ -22,9 +26,11 @@ ExecStart=/build/bbot/%i/bin/bbot-agent --systemd-daemon \
--ram ${RAM} \
--bootstrap-timeout ${BOOTSTRAP_TIMEOUT} \
--build-timeout ${BUILD_TIMEOUT} \
- %i \
- ${TOOLCHAIN_NUM} \
- ${TOOLCHAIN_ID}
+ --request-timeout ${REQUEST_TIMEOUT} \
+ --toolchain-name ${TOOLCHAIN_NAME} \
+ --toolchain-num ${TOOLCHAIN_NUM} \
+ --toolchain-id ${TOOLCHAIN_ID} \
+ $CONTROLLER_URL
User=build
Group=build