mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
bodhi: apply patch on bodhi-base while waiting for a new release
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
f3faf6ee4f
commit
58345b0204
@@ -19,6 +19,14 @@ 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
|
||||
RUN curl -o /usr/lib/python3.7/site-packages/bodhi/server/models.py https://raw.githubusercontent.com/cverna/bodhi/fix_editing_updates/bodhi/server/models.py &&\
|
||||
curl -o /usr/lib/python3.7/site-packages/bodhi/server/tasks/__init__.py https://raw.githubusercontent.com/cverna/bodhi/fix_editing_updates/bodhi/server/tasks/__init__.py &&\
|
||||
curl -o /usr/lib/python3.7/site-packages/bodhi/server/util.py https://raw.githubusercontent.com/cverna/bodhi/fix_editing_updates/bodhi/server/util.py &&\
|
||||
curl -o /usr/lib/python3.7/site-packages/bodhi/server/tasks/updates.py https://raw.githubusercontent.com/cverna/bodhi/fix_editing_updates/bodhi/server/tasks/updates.py &&\
|
||||
curl -o /usr/lib/python3.7/site-packages/bodhi/server/tasks/tag_update_builds.py https://raw.githubusercontent.com/cverna/bodhi/fix_editing_updates/bodhi/server/tasks/tag_update_builds.py &&\
|
||||
curl -o /usr/lib/python3.7/site-packages/bodhi/server/tasks/handle_side_and_related_tags.py https://raw.githubusercontent.com/cverna/bodhi/fix_editing_updates/bodhi/server/tasks/handle_side_and_related_tags.py &&\
|
||||
curl -o /usr/lib/python3.7/site-packages/bodhi/server/services/updates.py https://raw.githubusercontent.com/cverna/bodhi/fix_editing_updates/bodhi/server/services/updates.py
|
||||
|
||||
# Set up krb5
|
||||
RUN rm -f /etc/krb5.conf && \
|
||||
ln -sf /etc/bodhi/krb5.conf /etc/krb5.conf && \
|
||||
|
||||
Reference in New Issue
Block a user