fm-gateway

Created a month ago
Maintained by fbo
A gateway to replay Fedora Messaging topics to Zuul Pagure Driver
Members 2

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 <<< '(../../github.com/softwarefactory-project/dhall-containerfile/package.dhall).render ./container.dhall' > Dockerfile
podman build -f Dockerfile -t quay.io/software-factory/fm-gateway

Publish

podman login quay.io
podman push quay.io/software-factory/fm-gateway

Run with Podman

podman run -it -v ./conf:/data:Z -p 127.0.0.1:8080:80 quay.io/software-factory/fm-gateway

Run on OpenShift

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