bodhi: when sending to greenwave, always use verbose
This is a hack to work around bugs in bodhi and greewave. It happens if we send here with verbose, bodhi sends the right stuff and avoids the greenwave bug. This should be dropped as soon as upstream fixes land in bodhi or greenwave. See: https://pagure.io/greenwave/pull-request/666 and https://github.com/fedora-infra/bodhi/pull/4687 for the proper fix. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
209ca2f9d5
commit
699e534001
1 changed files with 4 additions and 1 deletions
|
@ -11,9 +11,12 @@ RUN curl -o /etc/yum.repos.d/infra-tags.repo https://infrastructure.fedoraprojec
|
|||
{% if env == "staging" %}
|
||||
RUN dnf install -y bodhi-server python3-pyramid_sawing python3-gunicorn --refresh
|
||||
{% else %}
|
||||
RUN dnf install -y bodhi-server-{{bodhi_version}} python3-pyramid_sawing python3-gunicorn
|
||||
RUN dnf install -y bodhi-server-{{bodhi_version}} python3-pyramid_sawing python3-gunicorn sed
|
||||
{% endif %}
|
||||
|
||||
# HOTFIX for https://github.com/fedora-infra/bodhi/pull/4687
|
||||
sed -i -e 's|verbose=False|verbose=True|' /usr/lib/python3.10/site-packages/bodhi/server/models.py
|
||||
|
||||
# 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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue