Control npm testing with environment variables
The NPM based tests can now skip the stopping of the docker-compose cluster by defining the SKIP_SHUTDOWN environment variable.
This commit is contained in:
@ -90,6 +90,9 @@ npm test
|
|||||||
rval=$?
|
rval=$?
|
||||||
|
|
||||||
# Stop MariaDB servers
|
# Stop MariaDB servers
|
||||||
docker-compose down -v
|
if [ -z "$SKIP_SHUTDOWN" ]
|
||||||
|
then
|
||||||
|
docker-compose down -v
|
||||||
|
fi
|
||||||
|
|
||||||
exit $rval
|
exit $rval
|
||||||
|
Reference in New Issue
Block a user