Add support for logs command args (#478)

This commit is contained in:
2023-07-31 22:10:37 -06:00
committed by GitHub
parent 5afe7a29ae
commit 6a0a752e2e
3 changed files with 21 additions and 7 deletions
+8
View File
@@ -109,6 +109,14 @@ fi
echo "deploy create output file test: passed"
# Try to start the deployment
$TEST_TARGET_SO deployment --dir $test_deployment_dir start
# Check logs command works
log_output_2=$( $TEST_TARGET_SO deployment --dir $test_deployment_dir logs )
if [[ "$log_output_2" == *"Filesystem is fresh"* ]]; then
echo "deployment logs test: passed"
else
echo "deployment logs test: FAILED"
exit 1
fi
# Stop and clean up
$TEST_TARGET_SO deployment --dir $test_deployment_dir stop --delete-volumes
echo "Test passed"