-
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.
- Loading branch information
Showing
55 changed files
with
3,345 additions
and
65 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
.github | ||
changelog | ||
docs | ||
examples | ||
grpc-tests | ||
tests | ||
tools | ||
|
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,52 @@ | ||
# Copyright 2018-2021 CERN | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# In applying this license, CERN does not waive the privileges and immunities | ||
# granted to it by virtue of its status as an Intergovernmental Organization | ||
# or submit itself to any jurisdiction. | ||
|
||
FROM ceph/daemon-base | ||
|
||
RUN dnf update -y && dnf install -y \ | ||
git \ | ||
gcc \ | ||
make \ | ||
libcephfs-devel \ | ||
librbd-devel \ | ||
librados-devel | ||
|
||
ADD https://golang.org/dl/go1.16.4.linux-amd64.tar.gz \ | ||
go1.16.4.linux-amd64.tar.gz | ||
|
||
RUN rm -rf /usr/local/go && \ | ||
tar -C /usr/local -xzf go1.16.4.linux-amd64.tar.gz && \ | ||
rm go1.16.4.linux-amd64.tar.gz | ||
|
||
ENV PATH /go/bin:/usr/local/go/bin:$PATH | ||
ENV GOPATH /go | ||
|
||
WORKDIR /go/src/github/cs3org/reva | ||
COPY . . | ||
RUN mkdir -p /go/bin \ | ||
make build-revad-cephfs-docker && \ | ||
cp /go/src/github/cs3org/reva/cmd/revad/revad /usr/bin/revad | ||
|
||
RUN cp -r examples/ceph /etc/ | ||
|
||
RUN mkdir -p /etc/revad/ && echo "" > /etc/revad/revad.toml | ||
|
||
EXPOSE 9999 10000 | ||
|
||
ENTRYPOINT [ "/usr/bin/revad" ] | ||
CMD [ "-c", "/etc/revad/revad.toml", "-p", "/var/run/revad.pid" ] |
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,3 @@ | ||
Enhancement: Reva CephFS module v0.2.1 | ||
|
||
https://github.com/cs3org/reva/pull/1209 |
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,5 @@ | ||
Enhancement: Use CS3 permissions API | ||
|
||
Added calls to the CS3 permissions API to the decomposedfs in order to check the user permissions. | ||
|
||
https://github.com/cs3org/reva/pull/2341 |
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
26 changes: 26 additions & 0 deletions
26
docs/content/en/docs/config/packages/storage/fs/cephfs/_index.md
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,26 @@ | ||
--- | ||
title: "cephfs" | ||
linkTitle: "cephfs" | ||
weight: 10 | ||
description: > | ||
Configuration for the cephfs service | ||
--- | ||
|
||
# _struct: config_ | ||
|
||
{{% dir name="root" type="string" default="/var/tmp/reva/" %}} | ||
Path of root directory for user storage. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/storage/fs/cephfs/cephfs.go#L34) | ||
{{< highlight toml >}} | ||
[storage.fs.cephfs] | ||
root = "/var/tmp/reva/" | ||
{{< /highlight >}} | ||
{{% /dir %}} | ||
|
||
{{% dir name="share_folder" type="string" default="/MyShares" %}} | ||
Path for storing share references. [[Ref]](https://github.com/cs3org/reva/tree/master/pkg/storage/fs/cephfs/cephfs.go#L35) | ||
{{< highlight toml >}} | ||
[storage.fs.cephfs] | ||
share_folder = "/MyShares" | ||
{{< /highlight >}} | ||
{{% /dir %}} | ||
|
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,3 @@ | ||
[global] | ||
fsid = '8aaa35c4-75dc-42e5-a812-cbc1cdfd3323' | ||
mon_host = '[v2:188.184.96.178:3300/0,v1:188.184.96.178:6789/0] [v2:188.185.88.76:3300/0,v1:188.185.88.76:6789/0] [v2:188.185.126.6:3300/0,v1:188.185.126.6:6789/0]' |
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,2 @@ | ||
[client.admin] | ||
key = 'AQAu88Fg5iekGhAAeVP0Td05PuybytuRJgBRqA==' |
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
Oops, something went wrong.