Increase TC-BUILD-002 timeout to 60 minutes and improve logging

- Timeout: 900s -> 3600s (60 min) for runtime image build
- Add tee to capture full build log to /tmp/build-runtime.log
- Add step to show last 200 lines of build log for debugging
- Helps diagnose build failures with proper log capture

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Shang Chieh Tseng
2025-12-15 18:31:28 +08:00
parent fb01b8b1ca
commit 03da57629e

View File

@@ -2,15 +2,18 @@ id: TC-BUILD-002
name: Runtime Image Build
suite: build
priority: 2
timeout: 900000
timeout: 3600000
dependencies:
- TC-BUILD-001
steps:
- name: Build runtime image
command: cd docker && make build-runtime-no-cache 2>&1 | tail -50
timeout: 900000
command: cd docker && make build-runtime-no-cache 2>&1 | tee /tmp/build-runtime.log | tail -100
timeout: 3600000
- name: Show build log tail (for debugging)
command: tail -200 /tmp/build-runtime.log 2>/dev/null || echo "No build log found"
- name: Verify runtime image exists
command: docker images ollama37:latest --format '{{.Repository}}:{{.Tag}} {{.Size}}'