[release-monitoring] Use the correct location for quick fix
Poetry is installing wheels when available. Let's change the egg paths to standard paths for staging. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
b92ec93736
commit
2c6959f25b
1 changed files with 5 additions and 1 deletions
|
@ -76,12 +76,16 @@ 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_auth_core-4.3.0-py3.10.egg/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_core/backends/fedora.py
|
||||
{% endif %}
|
||||
|
||||
# Hotfix for social_auth-sqlalchemy
|
||||
# Could be removed when we switch to something else
|
||||
{% if env == 'staging' %}
|
||||
RUN sed -i 's/base64.encodestring/base64.encodebytes/g' /usr/local/lib/python3.10/site-packages/social_sqlalchemy/storage.py
|
||||
{% else %}
|
||||
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
|
||||
EXPOSE 8080
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue