From 1c222340c19502b41dc38fb16a9855724c45a0a3 Mon Sep 17 00:00:00 2001 From: Connor Freebairn Date: Wed, 10 Jun 2026 23:33:54 +0100 Subject: [PATCH] Expose build task expiration timeout in vars.env Added a new build_task_expiration_minutes variable, defaulting to 20 so existing deployments render unchanged. Documented the override in the README. Fixes: https://github.com/AlmaLinux/build-system/issues/284 --- README.md | 4 ++++ roles/dev_deploy/templates/vars.env.j2 | 1 + 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index f85fd86..5d51408 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,10 @@ immudb_database: immudb_address: immudb_public_key_file: +# minutes a build task may go without a ping from its build node before it +# expires and becomes available for a build node to pick up again (default: 20) +build_task_expiration_minutes: + ``` Of course, you can override the service's default users, passwords and rabbitmq params. ```yaml diff --git a/roles/dev_deploy/templates/vars.env.j2 b/roles/dev_deploy/templates/vars.env.j2 index 250b7e8..051067a 100644 --- a/roles/dev_deploy/templates/vars.env.j2 +++ b/roles/dev_deploy/templates/vars.env.j2 @@ -55,3 +55,4 @@ IMMUDB_PASSWORD="{{ immudb_password }}" IMMUDB_DATABASE="{{ immudb_database }}" IMMUDB_ADDRESS="{{ immudb_address }}" IMMUDB_PUBLIC_KEY_FILE="{{ immudb_public_key_file }}" +BUILD_TASK_EXPIRATION_MINUTES="{{ build_task_expiration_minutes | default(20) }}"