FM Gateway

Gateway to send fedora-messaging messages to the Zuul Pagure driver web-hook service. The Gateway only acts on specific topics.

Run locally

PYTHONPATH=. fedora-messaging --conf ./conf/config.toml consume --callback=fmgateway.callback:Consumer

Container build and run

dhall text <<< '(./container.dhall).file' > Dockerfile
podman build -f Dockerfile -t


podman login
podman push

Run with Podman

podman run -it -v ./conf:/data:Z -p

Run on OpenShift

dhall-to-yaml --documents <<< ./oc-deploy.dhall > oc-deploy.yaml
oc apply -f ./oc-deploy.yaml