Files
claude-code-glm-suite/docker/test-env/docker-compose.yml
uroma 18fa867922 Fix Docker test infrastructure
Fixed multiple issues in docker/test-env:
- Changed Node.js installation to use official NodeSource repo (fixes npm compatibility)
- Made repository volume mounts writable (removed :ro flag)
- Fixed agents copy path (removed incorrect /agents/ subdirectory)
- Fixed critical agent paths (studio-coach in bonus/, removed agent-updater)
- Added explicit log file creation to fix permission errors
- Removed test-results volume mount (caused permission issues)

Test results: Manual installation now shows 28/35 tests passing
- All 38 agents install correctly
- All critical agents verified
- MCP tools accessible via npx
- Minor: Claude Code verification script has false negative
- Minor: MCP global npm installs fail (network issue, npx works)
2026-01-16 10:45:39 +00:00

73 lines
1.8 KiB
YAML

version: '3.8'
services:
# Test Option 2: Interactive Installer
test-interactive:
build:
context: .
dockerfile: Dockerfile
container_name: claude-interactive-test
volumes:
- ../../:/home/testman/claude-code-glm-suite
environment:
- TEST_MODE=interactive
- ANTHROPIC_AUTH_TOKEN=${ANTHROPIC_AUTH_TOKEN:-test-token}
command: /home/testuser/test-suite/test-interactive-install.sh
networks:
- test-network
# Test Option 1: Master Prompt
test-master-prompt:
build:
context: .
dockerfile: Dockerfile
container_name: claude-master-prompt-test
volumes:
- ../../:/home/testuser/claude-code-glm-suite
environment:
- TEST_MODE=master-prompt
- ANTHROPIC_AUTH_TOKEN=${ANTHROPIC_AUTH_TOKEN:-test-token}
command: /home/testuser/test-suite/test-master-prompt-install.sh
networks:
- test-network
# Test Option 3: Manual Installation
test-manual:
build:
context: .
dockerfile: Dockerfile
container_name: claude-manual-test
volumes:
- ../../:/home/testuser/claude-code-glm-suite
environment:
- TEST_MODE=manual
- ANTHROPIC_AUTH_TOKEN=${ANTHROPIC_AUTH_TOKEN:-test-token}
command: /home/testuser/test-suite/test-manual-install.sh
networks:
- test-network
# Verification container (runs after all tests)
verify-all:
build:
context: .
dockerfile: Dockerfile
container_name: claude-verify-all
volumes:
- ../../:/home/testuser/claude-code-glm-suite
environment:
- TEST_MODE=verify
command: /home/testuser/test-suite/verify-all-installations.sh
networks:
- test-network
depends_on:
- test-interactive
- test-master-prompt
- test-manual
networks:
test-network:
driver: bridge
volumes:
test-results: