Closed mvidalgarcia closed 4 years ago
The script can be written in Python and executed in reana-server. It should create enough data to test our tasks. Some objects it can create (make sure to not double create them, i.e. create if not exists):
reana-server
if not exists
Resource:
Resource
ResourceUser:
ResourceUser
quota_used
quota_limit
This could be implemented as new command in reana-db CLI e.g. reana-db quotas init. Then added as a new instruction in R-S's create-database.sh so this would work out of the box with reana-dev run-ci.
reana-db
reana-db quotas init
create-database.sh
reana-dev run-ci
The script can be written in Python and executed in
reana-server
. It should create enough data to test our tasks. Some objects it can create (make sure to not double create them, i.e. createif not exists
):Resource
:ResourceUser
:quota_used
andquota_limit
.