mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 00:21:59 +01:00
Removed redundant destroy_containers call
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
b496a65aae
commit
f11928f054
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user