blob: fe922ed091eee8ddadf2b869d8a1cd3aae451ced [file] [log] [blame]
Gary Wu9abb61c2018-09-27 10:38:50 -07001#!/usr/bin/env bash
2
3cd ssl
4./gen-certs.sh clean
5cd ..
6
7COMPOSE_LOGS_FILE=${WORKSPACE}/archives/containers_logs/docker-compose.log
8docker-compose logs > ${COMPOSE_LOGS_FILE}
9docker-compose down
10docker-compose rm -f
11
12docker network rm ${CONTAINERS_NETWORK}
13
14if grep "LEAK:" ${COMPOSE_LOGS_FILE}; then
15 echo "WARNING: Memory leak detected in docker-compose logs."
16fi