Open simoneborgio opened 2 years ago
Sorry for the extensive delay - this repo is not under active maintenance.
As per #32 I'm proposing that this repository be formally archived; if you need to continue using it you're welcome to fork, but it's become unviable for me or the Testcontainers team to maintain.
Test phase is really slow using the plugin, mainly because I'm unable to cache Maven dependencies.
I'm currently working on this pipeline:
maven-repo
volume is used as cache for Maven dependencies. It works fine in thebuild
step, but AFAIK it is not possible to use the same approach intest
(see the commented lines belowprefetch_images
). Moreover,test
step downloads the maven:3-openjdk-17-slim image every time it is executed. The result istest
step is taking 11 minutes, while the actualbuild
step only requires 22 seconds.Is it possible to cache dependencies and use them in a test step with dind or is there another best-practice to improve this performance?