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' > 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 <<< ./oc-deploy.dhall > oc-deploy.yaml
oc apply -f ./oc-deploy.yaml