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

fix home storage configuration for eos #338

Merged
merged 1 commit into from
Jun 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ eos-copy-ocis: build $(BIN)/$(EXECUTABLE)-linux
.PHONY: eos-ocis-storage-home
eos-ocis-storage-home:
# configure the home storage to use the eos driver and return the mount id of the eos driver in responses
# mount a set of eoshome storage drivers for requests to /webdav
docker exec -i \
--env OCIS_LOG_LEVEL=debug \
--env REVA_STORAGE_HOME_DRIVER=eoshome \
Expand All @@ -258,11 +259,18 @@ eos-ocis-storage-home:
--env REVA_STORAGE_HOME_DATA_DRIVER=eoshome \
--env REVA_GATEWAY_URL=host.docker.internal:9142 \
eos-cli1 ocis reva-storage-home-data &
# mount a second set of eoshome storage drivers for requests to /dav/files
docker exec -i \
--env OCIS_LOG_LEVEL=debug \
--env REVA_STORAGE_EOS_DRIVER=eoshome \
--env REVA_STORAGE_EOS_NAMESPACE="/eos/dockertest/reva/users" \
--env REVA_STORAGE_EOS_LAYOUT="{{substr 0 1 .Username}}" \
eos-cli1 ocis reva-storage-eos &
docker exec -i \
--env OCIS_LOG_LEVEL=debug \
--env REVA_STORAGE_EOS_DATA_DRIVER=eoshome \
--env REVA_STORAGE_EOS_NAMESPACE="/eos/dockertest/reva/users" \
--env REVA_STORAGE_EOS_LAYOUT="{{substr 0 1 .Username}}" \
--env REVA_GATEWAY_URL=host.docker.internal:9142 \
eos-cli1 ocis reva-storage-eos-data &

Expand Down
1 change: 1 addition & 0 deletions changelog/unreleased/update-reva-config
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ Change: Update reva config

https://github.com/owncloud/ocis/pull/336
https://github.com/owncloud/ocis/pull/337
https://github.com/owncloud/ocis/pull/338
https://github.com/owncloud/ocis-reva/pull/891