Skip to content

Commit

Permalink
Merge b60dcef into 2709032
Browse files Browse the repository at this point in the history
  • Loading branch information
okraskaj committed Jun 18, 2019
2 parents 2709032 + b60dcef commit 4dd1ae4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions reana_workflow_controller/workflow_run_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,10 @@ def _workflow_engine_env_vars(self):
"""Return necessary environment variables for the workflow engine."""
env_vars = list(WorkflowRunManager.engine_mapping[
self.workflow.type_]['environment_variables'])
env_vars.extend([{
'name': 'REANA_USERNAME',
'value': str(self.workflow.owner_id)
}])
cvmfs_volumes = 'false'
for resource, value in self.workflow.reana_specification['workflow'].\
get('resources', {}).items():
Expand Down

0 comments on commit 4dd1ae4

Please sign in to comment.