Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
*.tgz
deploy/rustfs-operator/charts/
deploy/rustfs-operator/Chart.lock

# Operator
operator.log
operator.pid
30 changes: 30 additions & 0 deletions .script-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/bin/bash
# Quick test script to verify updates

echo "Testing script syntax..."
echo ""

echo "1. Checking deploy-rustfs.sh..."
bash -n deploy-rustfs.sh && echo " ✓ Syntax OK" || echo " ✗ Syntax Error"

echo "2. Checking cleanup-rustfs.sh..."
bash -n cleanup-rustfs.sh && echo " ✓ Syntax OK" || echo " ✗ Syntax Error"

echo "3. Checking check-rustfs.sh..."
bash -n check-rustfs.sh && echo " ✓ Syntax OK" || echo " ✗ Syntax Error"

echo ""
echo "Verifying new functions exist..."
echo ""

echo "4. deploy-rustfs.sh contains start_console():"
grep -q "start_console()" deploy-rustfs.sh && echo " ✓ Found" || echo " ✗ Not found"

echo "5. cleanup-rustfs.sh contains stop_console():"
grep -q "stop_console()" cleanup-rustfs.sh && echo " ✓ Found" || echo " ✗ Not found"

echo "6. check-rustfs.sh checks console process:"
grep -q "operator.*console" check-rustfs.sh && echo " ✓ Found" || echo " ✗ Not found"

echo ""
echo "All checks passed! ✅"
Loading