[release-monitoring]Fix paths for the hotfixes

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2022-06-06 15:58:31 +02:00
parent 3a2fac3bb7
commit bda11cb283

View file

@ -82,11 +82,11 @@ items:
rm -rf anitya
# Let's use staging auth server in staging
{% if env == 'staging' %}
RUN sed -i 's/id.fedoraproject.org/id.stg.fedoraproject.org/g' /usr/local/lib/python3.10/site-packages/social_core/backends/fedora.py
RUN sed -i 's/id.fedoraproject.org/id.stg.fedoraproject.org/g' /usr/local/lib/python3.10/site-packages/social_auth_core-4.2.0-py3.10.egg/social_core/backends/fedora.py
# Hotfix for social_auth-sqlalchemy
# Could be removed when we switch to something else
RUN sed -i 's/base64.encodestring/base64.encodebytes/g' /usr/local/lib/python3.10/site-packages/social_sqlalchemy/storage.py
RUN sed -i 's/base64.encodestring/base64.encodebytes/g' /usr/local/lib/python3.10/site-packages/social_auth_storage_sqlalchemy-1.1.0-py3.10.egg/social_sqlalchemy/storage.py
{% endif %}
RUN mkdir /httpdir
RUN chmod 777 /httpdir