From 6cabe4d21b49ea149e6694c7290ff3e1fa9e08d2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 1 May 2017 15:46:25 +0200 Subject: Retry mis-booted machines --- bbot/bbot-agent@.service | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bbot/bbot-agent@.service') 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} \ -- cgit v1.1