self.max_keep_time = int(get("max_keep_time", 168))*60*60
self.bot_email = get("bot_email", "")
self.control_url = get("control_url")
- self.request_handler_server_port = int(get("port", d=1234, sec="request-server"))
+ self.request_handler_server_port = int(get("port", d=1231, sec="request-server"))
self.request_handler_server_ssl = get("ssl", d="False", sec="request-server")
if self.request_handler_server_ssl:
- self.request_handler_server_ssl_port = int(get("port", d=1235, sec="request-server"))
+ self.request_handler_server_ssl_port = int(get("ssl_port", d=1241, sec="request-server"))
self.request_handler_server_ssl_key = get("ssl_key", d="", sec="request-server")
self.request_handler_server_ssl_cert = get("ssl_cert", d="", sec="request-server")
self.builder_list = get("builder_list", "")
server = HTTPServer((host, port), MyHandler)
if srv_ssl:
server.socket = ssl.wrap_socket (server.socket,
- keyfile = config.request_handler_server_ssl_key,
- certfile = config.request_handler_server_ssl_cert,
+ keyfile = path.conf_dir + "/" + config.request_handler_server_ssl_key,
+ certfile = path.conf_dir + "/" + config.request_handler_server_ssl_cert,
ca_certs = "/etc/certs/ca-certificates.crt",
server_side=True)
except Exception, e:
# List of name-version-release tag prefixes.
tag_prefixes = auto/ti/
+# ------ request handler server config, ignored on binary builders:
+[request-server]
+port = 1231
+ssl = True
+ssl_port = 1241
+ssl_cert = request-server.crt
+ssl_key = request-server.key
+
# ------ Configs for particular builders:
[ti-src]