aboutsummaryrefslogtreecommitdiff
path: root/bbot/bbot-agent@.service
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-03-16 20:21:59 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-03-26 20:00:31 +0300
commit2af2c4f092aa7efffe839ec615c06d22cf43cc3b (patch)
treee84676dbf273602fdf1f3541171df9dad7060daf /bbot/bbot-agent@.service
parent392c6003321047421467e07eac31e12875377ead (diff)
Add support for interactive builds
Diffstat (limited to 'bbot/bbot-agent@.service')
-rw-r--r--bbot/bbot-agent@.service6
1 files changed, 6 insertions, 0 deletions
diff --git a/bbot/bbot-agent@.service b/bbot/bbot-agent@.service
index f610af2..294fde7 100644
--- a/bbot/bbot-agent@.service
+++ b/bbot/bbot-agent@.service
@@ -19,12 +19,16 @@ Environment=BRIDGE=br1
Environment=AUTH_KEY=
+Environment=INTERACTIVE=false
+
Environment=BOOTSTRAP_TIMEOUT=3600
Environment=BOOTSTRAP_RETRIES=2
Environment=BUILD_TIMEOUT=5400
Environment=BUILD_RETRIES=2
+Environment=INTERACTIVE_TIMEOUT=10800
+
Environment=CONNECT_TIMEOUT=60
Environment=REQUEST_TIMEOUT=300
Environment=REQUEST_RETRIES=4
@@ -46,10 +50,12 @@ ExecStart=/build/bots/default/bin/bbot-agent \
--ram ${RAM} \
--bridge ${BRIDGE} \
--auth-key ${AUTH_KEY} \
+ --interactive ${INTERACTIVE} \
--bootstrap-timeout ${BOOTSTRAP_TIMEOUT} \
--bootstrap-retries ${BOOTSTRAP_RETRIES} \
--build-timeout ${BUILD_TIMEOUT} \
--build-retries ${BUILD_RETRIES} \
+ --intactive-timeout ${INTERACTIVE_TIMEOUT} \
--connect-timeout ${CONNECT_TIMEOUT} \
--request-timeout ${REQUEST_TIMEOUT} \
--request-retries ${REQUEST_RETRIES} \