Files
SearchServices/e2e-test/helpers/start-alfresco.sh
Alex Mukha 9c38c27316 SEARCH-2318: Add Travis configuration to Insight Engine (#873)
The changes include the following:
* The python scripts for e2e environment creation were moved to this code base
* Mirror to community
* Docker image check
* Unit, integration and e2e tests
* "Snapshots": "latest" docker image from master in quay.io, docker images for "release" branches to quay.io, "master" and * "release" branches snapshots to nexus
* Releases: nexus, s3 staging bucket, quay.io and dockerhub
* Fix for https://issues.alfresco.com/jira/browse/SEARCH-2389

The build is using branches only.
2021-01-25 12:10:06 +00:00

21 lines
456 B
Bash
Executable File

#!/usr/bin/env bash
set -eux
# Start Alfresco and Solr.
# The location for the docker-compose files.
DOCKER_RESOURCE_FOLDER=$1
# The search docker image.
SEARCH_IMAGE=$2
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
export DOCKER_CLIENT_TIMEOUT=120
export COMPOSE_HTTP_TIMEOUT=120
# Build the images and call docker-compose.
cd "$DOCKER_RESOURCE_FOLDER"
docker-compose up -d --build --force-recreate
$SCRIPT_DIR/wait-service-to-start.sh