Add spn testing setup

This commit is contained in:
Daniel
2024-12-20 13:31:52 +01:00
parent 6e173e3b96
commit c7f3475382
14 changed files with 483 additions and 2 deletions

15
spn/testing/simple/stop.sh Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
cd "$( dirname "${BASH_SOURCE[0]}" )"
docker compose -p spn-test-simple stop
docker compose -p spn-test-simple rm
oldnet=$(docker network ls | grep spn-test-simple | cut -d" " -f1)
if [[ $oldnet != "" ]]; then
docker network rm $oldnet
fi
if [[ -d "data/shared" ]]; then
rm -r "data/shared"
fi