Skip to content

Commit

Permalink
Merge 85da7a7 into 6f8373d
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinos Kousidis committed Jan 24, 2019
2 parents 6f8373d + 85da7a7 commit 4df9c76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion reana_workflow_engine_yadage/config.py
Expand Up @@ -29,4 +29,4 @@
BROKER_PASS,
BROKER_URL))

MOUNT_CVMFS = os.getenv('REANA_MOUNT_CVMFS', False)
MOUNT_CVMFS = os.getenv('REANA_MOUNT_CVMFS', 'False')
2 changes: 1 addition & 1 deletion reana_workflow_engine_yadage/externalbackend.py
Expand Up @@ -124,7 +124,7 @@ def submit(self, spec, parameters, state, metadata):
os.getenv('workflow_workspace', 'default'),
metadata['name']
]
if MOUNT_CVMFS:
if eval(MOUNT_CVMFS):
job_request_body.append(['cms', 'alice', 'atlas', 'lhcb'])

job_id = self.rjc_api_client.submit(*job_request_body)
Expand Down
2 changes: 1 addition & 1 deletion reana_workflow_engine_yadage/submit.py
Expand Up @@ -40,7 +40,7 @@ def submit(name, experiment, image, cmd, prettified_cmd):
current_app.current_worker_task.workflow_workspace,
'cvmfs_mounts': []
}
if MOUNT_CVMFS:
if eval(MOUNT_CVMFS):
job_spec['cvmfs_mounts'] = ["cms", "atlas", "alice", "lhcb"]

log.info('submitting %s', json.dumps(job_spec, indent=4, sort_keys=True))
Expand Down

0 comments on commit 4df9c76

Please sign in to comment.