Skip to content

Commit

Permalink
eclipse-rdf4jGH-5064: added shutdown for docker images
Browse files Browse the repository at this point in the history
Signed-off-by: Bart Hanssens <[email protected]>
  • Loading branch information
barthanssens committed Jul 22, 2024
1 parent bb329b8 commit c78bd01
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docker/shutdown.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash
set -e

echo "Stopping the docker container for ${APP_SERVER}"
docker compose down --rmi -v

4 changes: 3 additions & 1 deletion e2e/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ for APP_SERVER in tomcat jetty; do
npx playwright install --with-deps # install browsers
npx playwright test

docker compose stop
cd ..
cd docker
./shutdown.sh
done

exit $?

0 comments on commit c78bd01

Please sign in to comment.