Add support for logs command args #478

Merged
telackey merged 4 commits from dboreham/deploy-logs-args into main 2023-08-01 04:10:37 +00:00
Showing only changes of commit d6af99ac57 - Show all commits

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 --dir $test_deployment_dir logs )
if [[ "$log_output_1" == *"Filesystem is old"* ]]; 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"