Ignore tests package when deploying

When deploying the tests package is included. While this package is not meant/required for production and takes up resources/time in both the pipelines and probably memory.

Is there a way / setting to ignore a certain package in the repo? In our case “tests”?

Hi Johan,

We currently, dont have such functionality other than adding this to your .gitignore, which I can imagine is not desirable. Therefore, I am labeling this post as a feature request.

Regards,

Raoul

Hi Johan, with the latest CLI (v0.47.0) it is possible to add a .viktorignore file. It works with a similar syntax as a .dockerignore file.

More info can be found in the docs: Publish apps | VIKTOR Documentation