Add more debugging

Former-commit-id: e8ec090f1d
This commit is contained in:
David Boreham 2023-04-20 16:58:13 -06:00 committed by GitHub
parent f5acbd1db0
commit 2b8eccf167

View File

@ -3,6 +3,9 @@ set -e
if [ -n "$CERC_SCRIPT_DEBUG" ]; then if [ -n "$CERC_SCRIPT_DEBUG" ]; then
set -x set -x
fi fi
# Dump environment variables for debugging
echo "Environment variables:"
env
# Basic simple test of stack-orchestrator functionality # Basic simple test of stack-orchestrator functionality
echo "Running stack-orchestrator smoke test" echo "Running stack-orchestrator smoke test"
# Bit of a hack, test the most recent package # Bit of a hack, test the most recent package
@ -25,7 +28,7 @@ $TEST_TARGET_SO --stack test build-containers
# Build one example containers # Build one example containers
$TEST_TARGET_SO build-containers --include cerc/builder-js $TEST_TARGET_SO build-containers --include cerc/builder-js
echo "Images in the local registry:" echo "Images in the local registry:"
docker image ls docker image ls -a
# Deploy the test container # Deploy the test container
$TEST_TARGET_SO --stack test deploy-system up $TEST_TARGET_SO --stack test deploy-system up
# TODO: test that we can use the deployed container somehow # TODO: test that we can use the deployed container somehow