refactor: remove cleanup function and associated trap from index.sh

This commit is contained in:
Nawaz Dhandala
2026-01-19 13:36:45 +00:00
parent be6d122879
commit 59d6aeb2b4

View File

@@ -10,16 +10,6 @@ echo "Terraform Provider E2E Tests"
echo "=========================================="
echo ""
# Cleanup function
cleanup() {
echo ""
echo "=== Running cleanup ==="
"$SCRIPT_DIR/cleanup.sh" || true
npm run down
}
# Trap to ensure cleanup runs on exit
trap cleanup EXIT
# Step 2: Start OneUptime services
echo ""