APPS-261 Initial setup for WORM test automation

This commit is contained in:
Bogdan
2020-08-13 07:02:45 +03:00
parent fe482e57ec
commit e7dab88424
5 changed files with 138 additions and 0 deletions

19
scripts/stop-compose.sh Normal file
View File

@@ -0,0 +1,19 @@
#!/usr/bin/env bash
export DOCKER_COMPOSE_PATH=$1
if [ -z "$DOCKER_COMPOSE_PATH" ]
then
echo "Please provide path to docker-compose.yml: \"${0##*/} /path/to/docker-compose.yml\""
exit 1
fi
echo "Killing ACS stack in ${DOCKER_COMPOSE_PATH}"
cd ${DOCKER_COMPOSE_PATH}
docker-compose ps
# logs for debug
docker-compose logs --no-color -t alfresco
docker-compose kill
docker-compose rm -fv