bodhi: Don't set up fedmsg in the container.

Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
Randy Barlow 2019-05-10 16:23:53 +00:00
parent 698d067be1
commit e2850cfa22

View file

@ -22,6 +22,8 @@ items:
# 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}} bodhi-docs-{{bodhi_version}} python3-pyramid_sawing
# We can drop this block once Bodhi 4.0.0 is deployed to production.
{% if env == "production" %}
# Put the fedmsg config in place
RUN rm -f /etc/fedmsg.d/bodhi.py && \
# Let's name it starting with zz so it sorts last.
@ -30,6 +32,7 @@ items:
mkdir -p /etc/pki/fedmsg/ && \
ln -sf /etc/pki/fedmsg/key/fedmsg-bodhi.key /etc/pki/fedmsg/bodhi.key && \
ln -sf /etc/pki/fedmsg/crt/fedmsg-bodhi.crt /etc/pki/fedmsg/bodhi.crt && \
{% endif %}
# Set up krb5
rm -f /etc/krb5.conf && \
ln -sf /etc/bodhi/krb5.conf /etc/krb5.conf && \