This repository contains the necessary code for building Oneprovider packages. Oneprovider is part of Onedata - the global data management system.
The following submodules are used in the repository:
| Submodule | URL | Description |
|---|---|---|
| Bamboo scripts | https://github.com/onedata/bamboos | Bamboos contains common scripts used in Continuous Integration processes that use the Bamboo platform. |
| Cluster Manager | https://github.com/onedata/cluster-manager | Common Onedata component shared between Onezone and Oneprovider, which monitors and controls Onedata worker processes at site level. |
| Oneprovider worker | https://github.com/onedata/op-worker | Main Oneprovider functional component, based on the Cluster Worker framework. |
| Onepanel | https://github.com/onedata/onepanel | Onepanel administration service implementation. |
In order to initialize all submodules please use:
make submodulesinstead of directly invoking Git submodule commands.
In order to build oneclient packages and docker images invoke:
makeThe building is done in docker containers. The builders docker images are available at Docker Hub.
The build process itself is fully based on Docker containers, so no other prerequisites other than Docker should be necessary. In case of problems with Docker cache, please set NO_CACHE=1 environment variable.
Assumes that demo Onezone is already running, under container name oz.
Without persistence:
docker run -it --rm --name op onedata/oneprovider:25.0 demo $(docker inspect --format '{{ .NetworkSettings.IPAddress }}' oz)With persistence:
docker run -it --rm --name op -h op -v /tmp/op-pers:/volumes/persistence -v /tmp/op-storage:/volumes/storage onedata/oneprovider:25.0 demo $(docker inspect --format '{{ .NetworkSettings.IPAddress }}' oz)Notes:
- WARNING: The hostname must be set to the same value between consecutive runs
e.g.
-h op, like above). Otherwise, the service will not start and won't give you any hints or logs why. - Demo mode with persistence requires version
>= 25.0. - The persistence directory mounted from the host must be the same between
consecutive runs (
/tmp/op-persin above example). - The POSIX storage mounted from the host must be the same between
consecutive runs (
/tmp/op-storagein above example).
Please use GitHub issues mechanism as the main channel for reporting bugs and requesting support or new features.
This work was supported in part by 2017's research funds in the scope of the co-financed international projects framework (project no. 3711/H2020/2017/2).
This work is co-funded by the EOSC-hub project (Horizon 2020) under Grant number 777536.