#storing coverage files back to the host
1 messages · Page 1 of 1 (latest)
i think you need a function which takes the file and exports it, that seems to be the standard way -> dagger call -> args in -> pipeline execution -> object returned is a file/directory -> export to a path on host.
Something like this? But actually, since its unlikely the dir itself will change where the report is,
dagger call some-pipeline-stuff (returns container) directory --path "/app/out/coverage" export --path ./coverage
.. could be condensed to this?
dagger call some-pipeline-stuff (returns dir) export --path ./coverage
Yep, this is the approach to take
Example of export: https://docs.dagger.io/manuals/user/export