bag-database icon indicating copy to clipboard operation
bag-database copied to clipboard

ability to save the result of script processing to the server directory

Open anatolykabakov opened this issue 4 years ago • 1 comments

Add the ability to save the result of script processing to the server directory. This will allow you to remotely process bags and save the processing result to the server. This is possible by adding the line to the file docker-compose.yaml volumes: server/dir/out/: /bdb/out

And to the file RunnableScript.java bindBuilder.add(Joiner.on(':').join("/bdb/out", "/bdb/out"));

anatolykabakov avatar Nov 04 '20 10:11 anatolykabakov

This sounds like a good idea to me, and I think it'd be pretty easy to implement. I think it would also make sense to have an option for scripts to control whether they write their stdout / stderr to that folder or not, and I'll also want to update the documentation with examples, but I'll take a look at doing this soon.

pjreed avatar Nov 04 '20 21:11 pjreed