mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Add TAS tests to Travis builds (#229)
This PR moved the internal tests based on TAS (Test Automation System) close to the source code. The TAS framework lies in separate repositories: https://github.com/Alfresco/alfresco-tas-restapi https://github.com/Alfresco/alfresco-tas-utility https://github.com/Alfresco/alfresco-tas-email https://github.com/Alfresco/alfresco-tas-ftp https://github.com/Alfresco/alfresco-tas-webdav https://github.com/Alfresco/alfresco-tas-cmis https://github.com/AlfrescoTestAutomation/dataprep
This commit is contained in:
22
tests/scripts/start-compose.sh
Executable file
22
tests/scripts/start-compose.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/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 "Starting ACS stack in ${DOCKER_COMPOSE_PATH}"
|
||||
|
||||
# .env files are picked up from project directory correctly on docker-compose 1.23.0+
|
||||
docker-compose --file "${DOCKER_COMPOSE_PATH}" --project-directory $(dirname "${DOCKER_COMPOSE_PATH}") up -d
|
||||
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
echo "Docker Compose started ok"
|
||||
else
|
||||
echo "Docker Compose failed to start" >&2
|
||||
exit 1
|
||||
fi
|
Reference in New Issue
Block a user