Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflow_run_manager: mount only db + workspace #229

Merged
merged 1 commit into from
Jul 23, 2019

Conversation

roksys
Copy link
Contributor

@roksys roksys commented Jul 18, 2019

@@ -467,3 +457,19 @@ def _create_job_controller_startup_cmd(self, user=None):
return [full_cmd]
else:
return base_cmd.split()

def _get_volume_mounts(self):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would reana_commons.k8s.volumes:get_shared_volume be of help here? if not we could adapt it, note that there we are changing depending of the deployment type CEPH or local Minikube, something we miss here.

SHARED_VOLUME_PATH + '/' + worksapce,
'subPath': worksapce
}
db_mount = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really need the DB mount? can you recheck it? :)

@roksys roksys force-pushed the mount-only-db-workspace branch 3 times, most recently from 8677ce5 to 70fb545 Compare July 19, 2019 07:10
Copy link
Member

@diegodelemos diegodelemos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, it just needs rebase :)

P.S. I had a comment while reviewing, but it doesn't belong to this PR since you didn't introduce it, so I've created an issue #231.

@roksys roksys force-pushed the mount-only-db-workspace branch 2 times, most recently from d12385b to 45b2422 Compare July 19, 2019 13:08
* Closes reanahub#225

Signed-off-by: Rokas Maciulaitis <rokas.maciulaitis@cern.ch>
@tiborsimko tiborsimko merged commit 44b6d5e into reanahub:master Jul 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

workflow_run_manager: mount only a workspace for RJC & RWE
3 participants