Initial commit: logcorrelator with unified packaging (DEB + RPM using fpm)
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
21
test.sh
Executable file
21
test.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
# Test script - runs all tests in Docker container
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
echo "=============================================="
|
||||
echo " logcorrelator - Test Suite (Docker)"
|
||||
echo "=============================================="
|
||||
echo ""
|
||||
|
||||
# Build test image and run tests
|
||||
docker build \
|
||||
--target builder \
|
||||
-t logcorrelator-test:latest \
|
||||
-f Dockerfile .
|
||||
|
||||
echo ""
|
||||
echo "Tests completed successfully!"
|
||||
echo ""
|
||||
Reference in New Issue
Block a user