Reuse test containers during integration tests

This commit is contained in:
Ryan Baxter
2024-02-01 11:06:59 -05:00
committed by GitHub
parent 00f9224948
commit 393752ab93

View File

@@ -1,5 +1,10 @@
#!/usr/bin/env bash
set -e
rm ~/.testcontainers.properties
echo 'testcontainers.reuse.enable=true' > ~/.testcontainers.properties
./mvnw clean install -B -Pdocs ${@}
rm ~/.testcontainers.properties
docker kill $(docker ps -q)