Skip to content

Commit

Permalink
config: cvmfs_mounts refactoring
Browse files Browse the repository at this point in the history
Signed-off-by: Dinos Kousidis <dinos.kousidis@cern.ch>
  • Loading branch information
dinosk authored and tiborsimko committed Feb 13, 2019
1 parent b1767e3 commit c4c12b5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 93 deletions.
3 changes: 1 addition & 2 deletions reana_workflow_engine_yadage/config.py
Expand Up @@ -29,5 +29,4 @@
BROKER_PASS,
BROKER_URL))

MOUNT_CVMFS = True if os.getenv('REANA_MOUNT_CVMFS').lower() == 'true' \
else False
MOUNT_CVMFS = os.getenv('REANA_MOUNT_CVMFS', 'false')
5 changes: 2 additions & 3 deletions reana_workflow_engine_yadage/externalbackend.py
Expand Up @@ -122,10 +122,9 @@ def submit(self, spec, parameters, state, metadata):
wrapped_cmd,
prettified_cmd,
os.getenv('workflow_workspace', 'default'),
metadata['name']
metadata['name'],
MOUNT_CVMFS
]
if MOUNT_CVMFS:
job_request_body.append(['cms', 'alice', 'atlas', 'lhcb'])

job_id = self.rjc_api_client.submit(*job_request_body)

Expand Down
86 changes: 0 additions & 86 deletions reana_workflow_engine_yadage/submit.py

This file was deleted.

4 changes: 2 additions & 2 deletions setup.py
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of REANA.
# Copyright (C) 2017, 2018 CERN.
# Copyright (C) 2017, 2018, 2019 CERN.
#
# REANA is free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for more details.
Expand Down Expand Up @@ -55,7 +55,7 @@
'packtivity==0.10.0',
'pyzmq==16.0.2',
'pyOpenSSL==17.5.0', # FIXME remove once yadage-schemas solves deps.
'reana-commons>=0.5.0.dev20190125,<0.6.0',
'reana-commons>=0.5.0.dev20190213,<0.6.0',
'requests==2.20.0',
'rfc3987==1.3.7', # FIXME remove once yadage-schemas solves deps.
'strict-rfc3339==0.7', # FIXME remove once yadage-schemas solves deps.
Expand Down

0 comments on commit c4c12b5

Please sign in to comment.