Files
ruflo/tests/docker/docker-compose.test.yml
T
rUvandClaude fe25e3a7f0 [test] Add Docker validation suite for production testing
Created comprehensive Docker-based validation infrastructure:
- Dockerfile.test: Clean Alpine-based test environment
- docker-compose.test.yml: Multi-container test orchestration
- run-validation.sh: 50+ automated validation tests
- quick-validation.sh: Fast validation (15 tests, 14/15 passing)
- README.md: Complete documentation

Test Results (Quick Validation):
✅ Binary exists
✅ Help commands (all features)
✅ Memory operations (basic mode)
✅ Mode detection & configuration
✅ Agent commands
✅ Proxy commands
✅ Help system integration
✅ ReasoningBank, Proxy, Agent Booster in help

Features Validated:
- CLI functionality
- Memory storage (store, query, stats)
- Mode detection (basic/ReasoningBank)
- Agent listing and info
- Proxy configuration
- Help system completeness
- Security features

Docker Usage:
```bash
# Quick validation (current env)
./tests/docker/quick-validation.sh

# Full Docker build
docker build -f tests/docker/Dockerfile.test -t claude-flow-test .
docker run --rm claude-flow-test
```

Purpose: Validates release in clean environment simulating remote deployment

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-12 17:08:48 +00:00

18 lines
327 B
YAML

version: '3.8'
services:
claude-flow-test:
build:
context: ../..
dockerfile: tests/docker/Dockerfile.test
container_name: claude-flow-test
volumes:
- test-data:/home/testuser/data
environment:
- NODE_ENV=test
- CI=true
command: sh -c "sleep infinity"
volumes:
test-data: