Fix status script

This commit is contained in:
David Boreham 2023-01-27 08:10:04 -07:00
parent 04f61293b5
commit 5a3bdd269d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)