mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-22 05:37:01 +00:00
Add GitHub Actions CI/CD pipeline and test framework
- Add .github/workflows/build-test.yml for automated testing - Add tests/ directory with TypeScript test runner - Add docs/CICD.md documentation - Remove .gitlab-ci.yml (migrated to GitHub Actions) - Update .gitignore for test artifacts 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
25
tests/testcases/build/TC-BUILD-003.yml
Normal file
25
tests/testcases/build/TC-BUILD-003.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
id: TC-BUILD-003
|
||||
name: Image Size Validation
|
||||
suite: build
|
||||
priority: 3
|
||||
timeout: 30000
|
||||
|
||||
dependencies:
|
||||
- TC-BUILD-002
|
||||
|
||||
steps:
|
||||
- name: Check builder image size
|
||||
command: docker images ollama37-builder:latest --format '{{.Size}}'
|
||||
|
||||
- name: Check runtime image size
|
||||
command: docker images ollama37:latest --format '{{.Size}}'
|
||||
|
||||
criteria: |
|
||||
Docker images should be within expected size ranges.
|
||||
|
||||
Expected:
|
||||
- Builder image: 10GB to 20GB (contains CUDA, GCC, CMake, Go)
|
||||
- Runtime image: 15GB to 25GB (contains builder + compiled ollama)
|
||||
|
||||
These are large images due to CUDA toolkit and build tools.
|
||||
Accept sizes within reasonable range of expectations.
|
||||
Reference in New Issue
Block a user