From 54492912d52e0eb3eb2cedb491cb88e36b7df54d Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Sun, 6 Dec 2020 23:20:23 +0100 Subject: [PATCH] Add new rebuilderd 0.8 configuration options Allow the log size to be limited to 10 MiB so we don't hit max body size limits when posting results. --- .../templates/rebuilderd-worker.conf.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/rebuilderd_worker/templates/rebuilderd-worker.conf.j2 b/roles/rebuilderd_worker/templates/rebuilderd-worker.conf.j2 index 8190d372..1b9132e9 100644 --- a/roles/rebuilderd_worker/templates/rebuilderd-worker.conf.j2 +++ b/roles/rebuilderd_worker/templates/rebuilderd-worker.conf.j2 @@ -1,6 +1,15 @@ endpoint = "https://reproducible.archlinux.org" signup_secret = "{{ vault_rebuilderd_signup_secret }}" +[build] +timeout = 86400 # 24 hours +## Set a maximum build log limit in bytes (default: none). +## When reaching this limit the log is truncated but the rebuilder backend is *not* terminated. +max_bytes = 10485760 # 10 MiB +## By default build output is forwarded to stdout/stderr. +## This can be disabled by settings this to true. +silent = true + [diffoscope] enabled = true max_bytes = 10485760 # 10 MiB