Skip to content

Commit

Permalink
fix(manager): pass RabbitMQ connection details to workflow engine (#615)
Browse files Browse the repository at this point in the history
Make sure that workflow engines are able to connect to RabbitMQ to be
able to publish workflow status update messages.
  • Loading branch information
mdonadoni committed Nov 22, 2024
1 parent 7df1279 commit cf4ee73
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions reana_workflow_controller/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
import os
import json

from reana_commons.config import REANA_COMPONENT_PREFIX, SHARED_VOLUME_PATH
from reana_commons.config import (
MQ_CONNECTION_STRING,
REANA_COMPONENT_PREFIX,
SHARED_VOLUME_PATH,
)
from reana_db.models import JobStatus, RunStatus

from reana_workflow_controller.version import __version__
Expand Down Expand Up @@ -122,7 +126,8 @@ def _env_vars_dict_to_k8s_list(env_vars):
"""

WORKFLOW_ENGINE_COMMON_ENV_VARS = [
{"name": "SHARED_VOLUME_PATH", "value": SHARED_VOLUME_PATH}
{"name": "SHARED_VOLUME_PATH", "value": SHARED_VOLUME_PATH},
{"name": "RABBIT_MQ", "value": MQ_CONNECTION_STRING},
]
"""Common to all workflow engines environment variables."""

Expand Down

0 comments on commit cf4ee73

Please sign in to comment.