Add more debugging

This commit is contained in:
David Boreham 2023-04-20 16:58:13 -06:00 committed by GitHub
parent 0a08a7ecba
commit e8ec090f1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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