[release-monitoring] Config fixes

TOML inline tables have to be on one line.

We need to specify HTTP scheme otherwise the URL will be generated with
http instead of https.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
This commit is contained in:
Michal Konecny 2024-12-04 14:08:55 +01:00
parent 39d6ee3932
commit e5678cb784

View file

@ -7,6 +7,9 @@ secret_key = '{{ stg_anitya_secrect_key }}'
secret_key = '{{ anitya_secret_key }}' secret_key = '{{ anitya_secret_key }}'
{% endif %} {% endif %}
# Preferred HTTP scheme
preferred_url_scheme = "https"
# The lifetime of the session, in seconds. # The lifetime of the session, in seconds.
permanent_session_lifetime = 604800 permanent_session_lifetime = 604800
@ -70,10 +73,7 @@ fedora_client_secret = "{{ anitya_stg_fedora_client_secret }}"
# Fedora OAuth authentication endpoint # Fedora OAuth authentication endpoint
fedora_server_metadata_url = "https://id.stg.fedoraproject.org/.well-known/openid-configuration" fedora_server_metadata_url = "https://id.stg.fedoraproject.org/.well-known/openid-configuration"
# Additional arguments for Fedora authentication # Additional arguments for Fedora authentication
fedora_client_kwargs = { fedora_client_kwargs = { scope = "openid profile email", token_endpoint_auth_method = "client_secret_post" }
scope = "openid profile email",
token_endpoint_auth_method = "client_secret_post"
}
# Google OAuth backend variables # Google OAuth backend variables
# Google OAuth client id # Google OAuth client id