Removed redundant destroy_containers call

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO 2023-07-14 12:08:30 +02:00
parent b496a65aae
commit f11928f054

View File

@ -5,7 +5,6 @@ DOCKER_LIMIT=( --pids-limit 256 --memory 512M )
export CONTAINERS=( "$NODE_GUI" "${NODE_WORKERS[@]}" "$SMTP_GW" "$SINGLE_SERVER" ) export CONTAINERS=( "$NODE_GUI" "${NODE_WORKERS[@]}" "$SMTP_GW" "$SINGLE_SERVER" )
setup() { setup() {
destroy_containers
launch_containers launch_containers
setup_piler "piler1" setup_piler "piler1"
} }
@ -42,6 +41,8 @@ launch_containers() {
setup_piler() { setup_piler() {
local container="$1" local container="$1"
log "${FUNCNAME[0]}"
pushd "${WORKSPACE}/${PROJECT_ID}/tests" pushd "${WORKSPACE}/${PROJECT_ID}/tests"
docker exec "$container" /usr/local/bin/setup-piler.sh docker exec "$container" /usr/local/bin/setup-piler.sh