Add stack tests
Former-commit-id: c80ed2b2455602a86c3fb6a5e291622f6ad74ef9
This commit is contained in:
parent
91ad0f39e6
commit
27195fc977
@ -1,6 +1,8 @@
|
|||||||
version: "1.0"
|
version: "1.0"
|
||||||
name: test
|
name: test
|
||||||
description: "A test stack"
|
description: "A test stack"
|
||||||
|
repos:
|
||||||
|
- cerc-io/laconicd
|
||||||
containers:
|
containers:
|
||||||
- cerc/test-container
|
- cerc/test-container
|
||||||
pods:
|
pods:
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
# This file should be re-generated running: scripts/update-version-file.sh script
|
# This file should be re-generated running: scripts/update-version-file.sh script
|
||||||
v1.0.12-alpha-6ae86db
|
v1.0.12-alpha-3cef5eb
|
||||||
|
@ -13,13 +13,15 @@ rm -rf $CERC_REPO_BASE_DIR
|
|||||||
mkdir -p $CERC_REPO_BASE_DIR
|
mkdir -p $CERC_REPO_BASE_DIR
|
||||||
# Pull an example small public repo to test we can pull a repo
|
# Pull an example small public repo to test we can pull a repo
|
||||||
$TEST_TARGET_SO setup-repositories --include cerc-io/laconic-sdk
|
$TEST_TARGET_SO setup-repositories --include cerc-io/laconic-sdk
|
||||||
# TODO: test building the repo into a container
|
# Test pulling a stack
|
||||||
# Build two example containers
|
$TEST_TARGET_SO --stack test setup-repositories
|
||||||
# TODO:
|
# Test building the a stack container
|
||||||
$TEST_TARGET_SO build-containers --include cerc/builder-js,cerc/test-container
|
$TEST_TARGET_SO --stack test build-containers
|
||||||
|
# Build one example containers
|
||||||
|
$TEST_TARGET_SO build-containers --include cerc/builder-js
|
||||||
# Deploy the test container
|
# Deploy the test container
|
||||||
$TEST_TARGET_SO deploy-system --include test 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
|
||||||
# Clean up
|
# Clean up
|
||||||
$TEST_TARGET_SO deploy-system --include test down
|
$TEST_TARGET_SO --stack test deploy-system down
|
||||||
echo "Test passed"
|
echo "Test passed"
|
||||||
|
Loading…
Reference in New Issue
Block a user