restore: Docker evolution test files for remote usage
Docker files restored for use on other machines with Docker/WSL2. Available test methods: 1. Docker (isolated environment): docker-compose -f docker/evolution-test/docker-compose.yml up evolution-feature 2. Local (bun runtime): docker/evolution-test/run-local-test.bat feature ./docker/evolution-test/run-local-test.sh feature Both methods provide: - Millisecond precision timing - Fitness score with 2 decimal places - JSONL logging to .kilo/logs/fitness-history.jsonl
This commit is contained in:
25
docker/evolution-test/Dockerfile
Normal file
25
docker/evolution-test/Dockerfile
Normal file
@@ -0,0 +1,25 @@
|
||||
# Evolution Test Container
|
||||
# Used for testing pipeline-judge fitness scoring with precise measurements
|
||||
|
||||
FROM oven/bun:1 AS base
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install TypeScript and testing tools
|
||||
RUN bun add -g typescript @types/node
|
||||
|
||||
# Copy project files
|
||||
COPY . /app/
|
||||
|
||||
# Install dependencies
|
||||
RUN bun install
|
||||
|
||||
# Create logs directory
|
||||
RUN mkdir -p .kilo/logs
|
||||
|
||||
# Health check
|
||||
HEALTHCHECK --interval=30s --timeout=10s \
|
||||
CMD bun test --reporter=json || exit 1
|
||||
|
||||
# Default command - run tests with precise timing
|
||||
CMD ["bun", "test", "--reporter=json"]
|
||||
Reference in New Issue
Block a user