cloud-image-uploader/fedora-messaging-fit.toml.example
Jeremy Cline 15b67101ef
fedora-image-tester: various fix-ups
Fixes up the Containerfile so it installs properly. This also ensures
the resource groups LISA creates are tagged so they can be easily
cleaned up asynchronously if LISA fails to clean up for whatever reason
(e.g. the container is restarted during a run).

Signed-off-by: Jeremy Cline <jeremycline@linux.microsoft.com>
2025-11-10 13:28:30 -05:00

83 lines
2.5 KiB
TOML

# A sample configuration for fedora-messaging. This file is in the TOML format.
amqp_url = "amqps://fedora:@rabbitmq.fedoraproject.org/%2Fpublic_pubsub"
callback = "fedora_image_tester.azure:Consumer"
[tls]
ca_cert = "/etc/fedora-messaging/cacert.pem"
keyfile = "/etc/fedora-messaging/fedora-key.pem"
certfile = "/etc/fedora-messaging/fedora-cert.pem"
# Queue names *must* be in the normal UUID format: run "uuidgen" and use the
# output as your queue name. If you don't define a queue here, the server will
# generate a queue name for you. This queue will be non-durable, auto-deleted and
# exclusive.
# If your queue is not exclusive, anyone can connect and consume from it, causing
# you to miss messages, so do not share your queue name. Any queues that are not
# auto-deleted on disconnect are garbage-collected after approximately one hour.
#
# If you require a stronger guarantee about delivery, please talk to Fedora's
# Infrastructure team.
#
# If you use the server-generated queue names, you can leave out the "queue"
# parameter in the bindings definition.
[[bindings]]
# queue = "00000000-0000-0000-0000-000000000000"
exchange = "amq.topic"
routing_keys = ["org.fedoraproject.*.fedora_image_uploader.published.v1.azure.*"]
[qos]
prefetch_size = 0
prefetch_count = 25
[client_properties]
app = "Fedora Image Tester"
app_url = "https://pagure.io/cloud-image-uploader"
app_contacts_email = "cloud@lists.fedoraproject.org"
# The Azure consumer namespaces its configuration under the "azure" key.
[consumer_config.azure]
# The region to use when creating test resources
region = "westus3"
results_storage_account = "fedoratestresults"
[log_config]
version = 1
disable_existing_loggers = true
[log_config.formatters.simple]
format = "%(asctime)s [%(name)s - %(levelname)s] - %(message)s"
[log_config.handlers.console]
class = "logging.StreamHandler"
formatter = "simple"
stream = "ext://sys.stdout"
[log_config.loggers.fedora_image_tester]
level = "INFO"
propagate = false
handlers = ["console"]
[log_config.loggers.fedora_messaging]
level = "INFO"
propagate = false
handlers = ["console"]
# Twisted is the asynchronous framework that manages the TCP/TLS connection, as well
# as the consumer event loop. When debugging you may want to lower this log level.
[log_config.loggers.twisted]
level = "INFO"
propagate = false
handlers = ["console"]
# Pika is the underlying AMQP client library. When debugging you may want to
# lower this log level.
[log_config.loggers.pika]
level = "WARNING"
propagate = false
handlers = ["console"]
[log_config.root]
level = "ERROR"
handlers = ["console"]