Merge branch 'main' into ci-test
All checks were successful
Lint Checks / Run linter (push) Successful in 55s
Webapp Test / Run webapp test suite (push) Successful in 5m20s
Deploy Test / Run deploy test suite (push) Successful in 6m16s
Smoke Test / Run basic test suite (push) Successful in 4m54s
Database Test / Run database hosting test on kind/k8s (push) Successful in 11m14s
All checks were successful
Lint Checks / Run linter (push) Successful in 55s
Webapp Test / Run webapp test suite (push) Successful in 5m20s
Deploy Test / Run deploy test suite (push) Successful in 6m16s
Smoke Test / Run basic test suite (push) Successful in 4m54s
Database Test / Run database hosting test on kind/k8s (push) Successful in 11m14s
This commit is contained in:
commit
e22792dc4b
@ -73,8 +73,8 @@ mkdir -p $CERC_REPO_BASE_DIR
|
||||
$TEST_TARGET_SO --stack ${stack} setup-repositories
|
||||
$TEST_TARGET_SO --stack ${stack} build-containers
|
||||
# Test basic stack-orchestrator deploy to k8s
|
||||
test_deployment_dir=$CERC_REPO_BASE_DIR/test-${deployment_dir}
|
||||
test_deployment_spec=$CERC_REPO_BASE_DIR/test-${spec_file}
|
||||
test_deployment_dir=$CERC_REPO_BASE_DIR/${deployment_dir}
|
||||
test_deployment_spec=$CERC_REPO_BASE_DIR/${spec_file}
|
||||
|
||||
$TEST_TARGET_SO --stack ${stack} deploy --deploy-to k8s-kind init --output $test_deployment_spec
|
||||
# Check the file now exists
|
||||
@ -85,6 +85,9 @@ if [ ! -f "$test_deployment_spec" ]; then
|
||||
fi
|
||||
echo "deploy init test: passed"
|
||||
|
||||
# Switch to a full path for the data dir so it gets provisioned as a host bind mounted volume and preserved beyond cluster lifetime
|
||||
sed -i "s|^\(\s*db-data:$\)$|\1 ${test_deployment_dir}/data/db-data|" $test_deployment_spec
|
||||
|
||||
$TEST_TARGET_SO --stack ${stack} deploy create --spec-file $test_deployment_spec --deployment-dir $test_deployment_dir
|
||||
# Check the deployment dir exists
|
||||
if [ ! -d "$test_deployment_dir" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user