[release-monitoring] Update production to F40
With the release 1.10.0 we can update the machine to Fedora 40. Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
parent
93131deacb
commit
de38802f46
2 changed files with 2 additions and 13 deletions
|
@ -11,11 +11,7 @@ items:
|
|||
runPolicy: Serial
|
||||
source:
|
||||
dockerfile: |-
|
||||
{% if env == 'staging' %}
|
||||
FROM fedora:40
|
||||
{% else %}
|
||||
FROM fedora:38
|
||||
{% endif %}
|
||||
LABEL \
|
||||
name="release-monitoring-web" \
|
||||
vendor="Fedora Infrastructure" \
|
||||
|
@ -84,9 +80,7 @@ items:
|
|||
|
||||
# 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.12/site-packages/social_sqlalchemy/storage.py
|
||||
{% endif %}
|
||||
RUN mkdir /httpdir
|
||||
RUN chmod 777 /httpdir
|
||||
EXPOSE 8080
|
||||
|
|
|
@ -27,11 +27,11 @@ StartServers 20
|
|||
ServerLimit 100
|
||||
MaxRequestsPerChild 2000
|
||||
MaxRequestWorkers 100
|
||||
<Directory "/usr/local/lib/python3.11/anitya/static/docs/html/">
|
||||
<Directory "/usr/local/lib/python3.12/anitya/static/docs/html/">
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
<Directory "/usr/local/lib/python3.11/site-packages/anitya/static/">
|
||||
<Directory "/usr/local/lib/python3.12/site-packages/anitya/static/">
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
@ -55,13 +55,8 @@ LogLevel info
|
|||
TypesConfig /etc/mime.types
|
||||
AddDefaultCharset UTF-8
|
||||
CoreDumpDirectory /tmp
|
||||
{% if env == "staging" %}
|
||||
Alias /docs /usr/local/lib/python3.12/site-packages/anitya/static/docs/html/
|
||||
Alias /static /usr/local/lib/python3.12/site-packages/anitya/static/
|
||||
{% else %}
|
||||
Alias /docs /usr/local/lib/python3.11/site-packages/anitya/static/docs/html/
|
||||
Alias /static /usr/local/lib/python3.11/site-packages/anitya/static/
|
||||
{% endif %}
|
||||
WSGIDaemonProcess anitya display-name=anitya processes=2 threads=2 maximum-requests=1000 home=/httpdir
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
WSGISocketPrefix run/wsgi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue