From 3a18e156ed156b4ff876b71d593c82f757394cc3 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 27 Oct 2016 15:40:59 -0400 Subject: [PATCH] Adjust fedmsg config to work in our docker-compose environment. --- fedmsg.d/module_build_service.py | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/fedmsg.d/module_build_service.py b/fedmsg.d/module_build_service.py index 2d3b9653..61235801 100644 --- a/fedmsg.d/module_build_service.py +++ b/fedmsg.d/module_build_service.py @@ -1,12 +1,26 @@ config = { + # Just for dev. + "validate_signatures": False, + # Talk to the relay, so things also make it to composer.stg in our dev env "active": True, # Since we're in active mode, we don't need to declare any of our own # passive endpoints. This placeholder value needs to be here for the tests # to pass in Jenkins, though. \o/ - "endpoints": {}, - "relay_inbound": ["tcp://127.0.0.1:2003"], + "endpoints": { + "fedora-infrastructure": [ + # Just listen to staging for now, not to production (spam!) + #"tcp://hub.fedoraproject.org:9940", + "tcp://stg.fedoraproject.org:9940", + ], + "relay_outbound": [ + "tcp://fedmsg-relay:2001" + ], + }, + "relay_inbound": [ + "tcp://fedmsg-relay:2003" + ], # Start of code signing configuration # 'sign_messages': True,