Skip to content

Commit

Permalink
Temporarily revert to use webdav for workspace. Bump to v1.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Xarthisius committed Dec 30, 2022
1 parent ea5510a commit e3b8ddb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions gwvolman/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ def create_volume(self, instance_id):
_mount_bind(mountpoint, 'home', user)

if ENABLE_WORKSPACES:
_mount_bind(mountpoint, 'workspace', tale)
# _mount_bind(mountpoint, 'workspace', tale)
_mount_girderfs(mountpoint, 'workspace', 'wt_work', tale['_id'], api_key)
_mount_girderfs(mountpoint, 'versions', 'wt_versions', tale['_id'], api_key, hostns=True)
_mount_girderfs(mountpoint, 'runs', 'wt_runs', tale['_id'], api_key, hostns=True)

Expand Down Expand Up @@ -738,7 +739,8 @@ def set_run_status(run, status):

if session['_id'] is not None:
_mount_girderfs(mountpoint, 'data', 'wt_dms', session['_id'], api_key, hostns=True)
_mount_bind(mountpoint, "run", {"runId": run["_id"], "taleId": tale["_id"]})
# _mount_bind(mountpoint, "run", {"runId": run["_id"], "taleId": tale["_id"]})
_mount_girderfs(mountpoint, 'workspace', 'wt_run', run["_id"], api_key)
state.fs_mounted = mountpoint

# Build the image for the run
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='gwvolman',
version='1.2',
version='1.2.1',
description='An example girder worker extension',
author='Kacper Kowalik',
author_email='[email protected]',
Expand Down

0 comments on commit e3b8ddb

Please sign in to comment.