From 40857f8b49b8a8a88e246775843e19978ace6569 Mon Sep 17 00:00:00 2001 From: Clement Verna Date: Mon, 2 Mar 2020 17:56:37 +0100 Subject: [PATCH] bodhi: apply the new template in production Signed-off-by: Clement Verna --- roles/openshift-apps/bodhi/templates/buildconfig.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/roles/openshift-apps/bodhi/templates/buildconfig.yml b/roles/openshift-apps/bodhi/templates/buildconfig.yml index bcff6f94e5..9809ce6a66 100644 --- a/roles/openshift-apps/bodhi/templates/buildconfig.yml +++ b/roles/openshift-apps/bodhi/templates/buildconfig.yml @@ -15,10 +15,8 @@ items: name="bodhi-base" \ vendor="Fedora Infrastructure" \ license="MIT" - RUN curl -o /etc/yum.repos.d/infra-tags.repo https://infrastructure.fedoraproject.org/cgit/ansible.git/plain/files/common/fedora-infra-tags.repo -{% if env == "staging" %} - RUN curl -o /etc/yum.repos.d/infra-tags-stg.repo https://infrastructure.fedoraproject.org/cgit/ansible.git/plain/files/common/fedora-infra-tags-stg.repo -{% endif %} + RUN curl -o /etc/yum.repos.d/infra-tags.repo https://infrastructure.fedoraproject.org/cgit/ansible.git/plain/files/common/fedora-infra-tags.repo &&\ + curl -o /usr/lib/python3.7/site-packages/bodhi/server/templates/errors.html https://infrastructure.fedoraproject.org/cgit/ansible.git/plain/files/bodhi/errors.html # While dnf has a --nodocs, it doesen't have a --docs... RUN sed -i '/nodocs/d' /etc/dnf/dnf.conf RUN dnf install -y bodhi-server-{{bodhi_version}}