-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run litmus CI for both owncloud and ocis storage (#1166)
- Loading branch information
1 parent
8c2f6c8
commit fd2b257
Showing
5 changed files
with
186 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# This storage-home.toml config file will start a reva service that: | ||
[shared] | ||
jwt_secret = "Pive-Fumkiu4" | ||
gatewaysvc = "localhost:19000" | ||
|
||
# - authenticates grpc storage provider requests using the internal jwt token | ||
# - authenticates http upload and download requests requests using basic auth | ||
# - serves the home storage provider on grpc port 12000 | ||
# - serves http dataprovider for this storage on port 12001 | ||
# - /data - dataprovider: file up and download | ||
# | ||
# The home storage will inject the username into the path and jail users into | ||
# their home directory | ||
|
||
[grpc] | ||
address = "0.0.0.0:12000" | ||
|
||
# This is a storage provider that grants direct access to the wrapped storage | ||
# TODO same storage id as the /oc/ storage provider | ||
# if we have an id, we can directly go to that storage, no need to wrap paths | ||
# we have a locally running dataprovider | ||
# this is where clients can find it | ||
# the context path wrapper reads tho username from the context and prefixes the relative storage path with it | ||
[grpc.services.storageprovider] | ||
driver = "ocis" | ||
mount_path = "/home" | ||
mount_id = "123e4567-e89b-12d3-a456-426655440000" | ||
expose_data_server = true | ||
data_server_url = "http://localhost:12001/data" | ||
enable_home_creation = true | ||
|
||
[grpc.services.storageprovider.drivers.ocis] | ||
datadirectory = "/drone/src/tmp/reva/data" | ||
enable_home = true | ||
redis = "redis:6379" | ||
|
||
|
||
[http] | ||
address = "0.0.0.0:12001" | ||
|
||
[http.services.dataprovider] | ||
driver = "ocis" | ||
temp_folder = "/drone/src/tmp/reva/tmp" | ||
|
||
[http.services.dataprovider.drivers.ocis] | ||
datadirectory = "/drone/src/tmp/reva/data" | ||
enable_home = true | ||
redis = "redis:6379" |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# This storage.toml config file will start a reva service that: | ||
[shared] | ||
jwt_secret = "Pive-Fumkiu4" | ||
gatewaysvc = "localhost:19000" | ||
|
||
# - authenticates grpc storage provider requests using the internal jwt token | ||
# - authenticates http upload and download requests requests using basic auth | ||
# - serves the storage provider on grpc port 11000 | ||
# - serves http dataprovider for this storage on port 11001 | ||
# - /data - dataprovider: file up and download | ||
[grpc] | ||
address = "0.0.0.0:11000" | ||
|
||
# This is a storage provider that grants direct access to the wrapped storage | ||
# we have a locally running dataprovider | ||
[grpc.services.storageprovider] | ||
driver = "ocis" | ||
mount_path = "/oc" | ||
mount_id = "123e4567-e89b-12d3-a456-426655440000" | ||
expose_data_server = true | ||
data_server_url = "http://localhost:11001/data" | ||
|
||
[grpc.services.storageprovider.drivers.ocis] | ||
datadirectory = "/drone/src/tmp/reva/data" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong. |
||
redis = "redis:6379" | ||
userprovidersvc = "localhost:18000" | ||
|
||
[http] | ||
address = "0.0.0.0:11001" | ||
|
||
[http.services.dataprovider] | ||
driver = "ocis" | ||
temp_folder = "/drone/src/tmp/reva/tmp" | ||
|
||
[http.services.dataprovider.drivers.ocis] | ||
datadirectory = "/drone/src/tmp/reva/data" | ||
redis = "redis:6379" |
File renamed without changes.
need to be changed to
root = "/drone/src/tmp/reva/data"