blob: 28f1033464333af17c44ac00a981706be706e31a [file] [log] [blame]
#!/usr/bin/env bash
cd collector/ssl
./gen-certs.sh clean
cd ../..
COMPOSE_LOGS_FILE=${WORKSPACE}/archives/containers_logs/docker-compose.log
docker-compose logs > ${COMPOSE_LOGS_FILE}
docker-compose down
docker-compose rm -f
docker network rm ${CONTAINERS_NETWORK}
if grep "LEAK:" ${COMPOSE_LOGS_FILE}; then
echo "WARNING: Memory leak detected in docker-compose logs."
fi