forked from cerc-io/stack-orchestrator
parent
9991baa8d6
commit
d677e5f369
@ -4,7 +4,7 @@ if [ -n "$CERC_SCRIPT_DEBUG" ]; then
|
|||||||
set -x
|
set -x
|
||||||
fi
|
fi
|
||||||
export LIGHTHOUSE_BASE_URL="http://fixturenet-eth-lighthouse-1:8001"
|
export LIGHTHOUSE_BASE_URL="http://fixturenet-eth-lighthouse-1:8001"
|
||||||
export GETH_BASE_URL="http://fixturenet-eth-geth-1-1:8545"
|
export GETH_BASE_URL="http://fixturenet-eth-geth-1:8545"
|
||||||
# See: https://stackoverflow.com/a/246128/1701505
|
# See: https://stackoverflow.com/a/246128/1701505
|
||||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||||
$SCRIPT_DIR/status.sh
|
$SCRIPT_DIR/status.sh
|
||||||
|
@ -109,7 +109,7 @@ def command(ctx, include, exclude, cluster, command, extra_args):
|
|||||||
command_to_exec = extra_args_list[1:]
|
command_to_exec = extra_args_list[1:]
|
||||||
container_exec_env = {
|
container_exec_env = {
|
||||||
"CERC_SCRIPT_DEBUG": "true"
|
"CERC_SCRIPT_DEBUG": "true"
|
||||||
} if debug else None
|
} if debug else {}
|
||||||
if verbose:
|
if verbose:
|
||||||
print(f"Running compose exec {service_name} {command_to_exec}")
|
print(f"Running compose exec {service_name} {command_to_exec}")
|
||||||
docker.compose.execute(service_name, command_to_exec, envs=container_exec_env)
|
docker.compose.execute(service_name, command_to_exec, envs=container_exec_env)
|
||||||
|
Loading…
Reference in New Issue
Block a user