aboutsummaryrefslogtreecommitdiff
path: root/bbot/bbot-agent@.service
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-01 15:46:25 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-01 15:46:25 +0200
commit6cabe4d21b49ea149e6694c7290ff3e1fa9e08d2 (patch)
tree79c6009de91c2ff583b986a4301e31435aa3383a /bbot/bbot-agent@.service
parent8b896055d4d90b538211784cf9ad1bf335b20dc6 (diff)
Retry mis-booted machines
Diffstat (limited to 'bbot/bbot-agent@.service')
-rw-r--r--bbot/bbot-agent@.service4
1 files changed, 4 insertions, 0 deletions
diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service
index b15108f..dd7ca21 100644
--- a/bbot/bbot-agent@.service
+++ b/bbot/bbot-agent@.service
@@ -11,7 +11,9 @@ Environment=CPU=1
Environment=RAM=1048576
Environment=BOOTSTRAP_TIMEOUT=600
+Environment=BOOTSTRAP_RETRIES=2
Environment=BUILD_TIMEOUT=1800
+Environment=BUILD_RETRIES=2
Environment=REQUEST_TIMEOUT=300
Environment=TOOLCHAIN_NAME=%i
@@ -26,7 +28,9 @@ ExecStart=/build/bots/%i/bin/bbot-agent --systemd-daemon \
--cpu ${CPU} \
--ram ${RAM} \
--bootstrap-timeout ${BOOTSTRAP_TIMEOUT} \
+ --bootstrap-retries ${BOOTSTRAP_RETRIES} \
--build-timeout ${BUILD_TIMEOUT} \
+ --build-retries ${BUILD_RETRIES} \
--request-timeout ${REQUEST_TIMEOUT} \
--toolchain-name ${TOOLCHAIN_NAME} \
--toolchain-num ${TOOLCHAIN_NUM} \