From d826e19c62fe1cfc66708a62994548b3d048a684 Mon Sep 17 00:00:00 2001 From: Josef Skladanka Date: Thu, 11 Apr 2019 20:03:23 +0200 Subject: [PATCH] Testdays - use dummy messaging plugin --- roles/taskotron/resultsdb-backend/templates/settings.py.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/taskotron/resultsdb-backend/templates/settings.py.j2 b/roles/taskotron/resultsdb-backend/templates/settings.py.j2 index 2a9f8da473..3cca1d1bcb 100644 --- a/roles/taskotron/resultsdb-backend/templates/settings.py.j2 +++ b/roles/taskotron/resultsdb-backend/templates/settings.py.j2 @@ -15,6 +15,11 @@ MESSAGE_BUS_PUBLISH_TASKOTRON = True MESSAGE_BUS_PLUGIN = 'fedmsg' MESSAGE_BUS_KWARGS = {'modname': 'resultsdb'} +{% if deployment_type in ['local'] %} +# This is for the Testdays deployment +MESSAGE_BUS_PLUGIN = 'dummy' +{% endif %} + # Extend the list of allowed outcomes # See: https://pagure.io/task-abicheck/issue/19