Merge branch 'main' into ci-test

Former-commit-id: b3b24e3f1870763025d9ac9b07685b1a85567874
This commit is contained in:
dboreham committed 2023-04-20 17:40:41 -06:00
commit 616982d9ba
28 files changed
+518 -80

No files matched your search

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