Let say we use the local Studio to design our reports ( console app with the Js.Local nuget package)
Templates are saved on disk using the file system store.
The whole templates folder structure created by the studio is saved in our source control.
Now I'm looking for the simplest way to push the templates files into JsReport online, within my DevOps CI pipeline.
I was hoping i could make JsReport Online use my own Azure blob storage, and simply move the files there, but it is not supported as per this thread:
https://forum.jsreport.net/topic/1511/jsreportonline
As I understand it, I would have to do these steps in the CI environment:
- npm install jsreport (100+mb download)
- start jsreport
- use the jsreport-cli export command
- push the export.zip to jsreport online
These steps would be done on every build, which seems a bit overkill to me, so I'd like to know if there is a simpler way that would not involve downloading, installing and spinning up a jsreport instance just to bundle the template files into a .zip.
Is there a simple script that can zip the templates folder into the expected format?
Thanks!