forked from cerc-io/stack-orchestrator
Add version to smoke test
This commit is contained in:
parent
d315941f21
commit
df469786ca
@ -1,9 +1,13 @@
|
|||||||
# 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"
|
||||||
TEST_TARGET_SO=package/laconic-so
|
# Bit of a hack, test the most recent package
|
||||||
|
TEST_TARGET_SO=$( ls -t1 ./package/laconic-so* | head -1 )
|
||||||
# Set a non-default repo dir
|
# Set a non-default repo dir
|
||||||
export CERC_REPO_BASE_DIR=~/stack-orchestrator-test/repo-base-dir
|
export CERC_REPO_BASE_DIR=~/stack-orchestrator-test/repo-base-dir
|
||||||
echo "Testing this package: $TEST_TARGET_SO"
|
echo "Testing this package: $TEST_TARGET_SO"
|
||||||
|
echo "Test version command"
|
||||||
|
reported_version_string=$( $TEST_TARGET_SO version )
|
||||||
|
echo "Version reported is: ${reported_version_string}"
|
||||||
echo "Cloning repositories into: $CERC_REPO_BASE_DIR"
|
echo "Cloning repositories into: $CERC_REPO_BASE_DIR"
|
||||||
rm -rf $CERC_REPO_BASE_DIR
|
rm -rf $CERC_REPO_BASE_DIR
|
||||||
mkdir -p $CERC_REPO_BASE_DIR
|
mkdir -p $CERC_REPO_BASE_DIR
|
||||||
|
Loading…
Reference in New Issue
Block a user