[release-monitoring] Update to f36 on staging
This also introduces the hotfix for the social_auth issue. So it should be possible to login on staging. Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
parent
a087bf17f3
commit
27948a7cc6
1 changed files with 6 additions and 2 deletions
|
@ -11,7 +11,7 @@ items:
|
|||
source:
|
||||
dockerfile: |-
|
||||
{% if env == 'staging' %}
|
||||
FROM fedora:34
|
||||
FROM fedora:36
|
||||
{% else %}
|
||||
FROM fedora:32
|
||||
{% endif %}
|
||||
|
@ -82,7 +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.9/site-packages/social_auth_core-4.1.0-py3.9.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
|
||||
|
||||
# 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
|
||||
{% endif %}
|
||||
RUN mkdir /httpdir
|
||||
RUN chmod 777 /httpdir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue