From c2025d4833f970ddd10d4cd703ccdf8999b5f6bc Mon Sep 17 00:00:00 2001 From: Mattia Verga Date: Sun, 28 Jan 2024 15:25:14 +0100 Subject: [PATCH] bodhi: revert nullPool patch and apply timeout to queries Signed-off-by: Mattia Verga --- roles/openshift-apps/bodhi/templates/dockerfile-base | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/bodhi/templates/dockerfile-base b/roles/openshift-apps/bodhi/templates/dockerfile-base index 3971d5d24a..fafd8e7cd1 100644 --- a/roles/openshift-apps/bodhi/templates/dockerfile-base +++ b/roles/openshift-apps/bodhi/templates/dockerfile-base @@ -20,8 +20,8 @@ RUN dnf install -y bodhi-server-{{bodhi_version}} python3-pyramid_sawing python3 {% endif %} # Temporary patch for testing fix for pod crashes -RUN curl https://github.com/fedora-infra/bodhi/commit/7a9d7fc09d4b2eb7653e29b6feeb148abd064054.patch -o /tmp/nullPool.patch -RUN patch -p3 -ruN -d /usr/lib/python3.11/site-packages/bodhi < /tmp/nullPool.patch +RUN curl https://github.com/fedora-infra/bodhi/commit/0c302e26003756544f63bbeba016f75f3f037a03.patch -o /tmp/dbTimeout.patch +RUN patch -p3 -ruN -d /usr/lib/python3.11/site-packages/bodhi < /tmp/dbTimeout.patch # link the static files for a simpler httpd.conf RUN ln -s $(python3 -Ic "import sysconfig; print(sysconfig.get_path('purelib', 'rpm_prefix'))")/bodhi/server/static/ /srv/bodhi-static