16 Commits

Author SHA1 Message Date
向宁
df8f1e4cb7 refactor: rewrite file-system from Go to .NET 10 / ABP modular
- Replace Go (Kratos/Wire/Watermill) implementation with .NET 10 solution
- Add FileSystem.slnx, Directory.Build.props and ABP module structure
- Keep Docker/Jenkins/docker-compose deployment artifacts
- This drops all Go sources (cmd/, internal/, api/proto) in favor of src/
2026-06-14 15:02:59 +08:00
向宁
80507c0e18 chore: update Dockerfile and docker-compose for Kratos binary 2026-05-25 13:13:00 +08:00
向宁
5f3d84a89b fix: remove web dir from Dockerfile, fix healthcheck path
web/ was deleted in previous refactoring. Healthcheck now uses /health
endpoint instead of /web.
2026-05-17 22:28:01 +08:00
向宁
5e20a6d7fc fix: upgrade Dockerfile to Go 1.25, use Docker Hub base images
go.mod requires Go 1.25 (gin-contrib/cors v1.7.7 dependency).
Switch from private registry to Docker Hub for base images since
they're public and the registry only has Go 1.24.
2026-05-17 22:14:17 +08:00
8c180082d5 fix: healthcheck path /swagger/index.html -> /web 2026-05-06 18:06:32 +08:00
c2111e5473 refactor: optimize Dockerfile with pre-built golang base image 2026-05-05 17:32:57 +08:00
root
04b689fc95 Fix Dockerfile: add file package installation
- Add file package to runtime environment
- Fix build error where file command was not found

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 10:39:10 +08:00
root
e12ce5c632 Enhance logging for better troubleshooting and debugging
🔧 CI/CD Pipeline Improvements:
- Added comprehensive logging with emojis for better readability
- Detailed environment information display
- Step-by-step progress tracking with timestamps
- Enhanced Docker build progress with --progress=plain
- Container deployment validation and health checks
- Network connectivity testing and port monitoring
- Storage usage reporting and cleanup operations

🏗️ Dockerfile Enhancements:
- Added verbose logging for every build stage
- Go environment verification and dependency tracking
- Detailed compilation progress with file sizes
- Runtime environment preparation checks
- Built-in health check configuration
- Enhanced startup logging with service URLs
- Error-friendly fallback messages

📊 Debugging Features:
- Build log preservation (build.log file)
- Container state inspection and JSON formatting
- Port listening status verification
- Service availability testing with retries
- Comprehensive error reporting with context
- Container ID tracking for reference

🎯 Key Benefits:
- Easy problem identification during CI/CD
- Clear visibility into build and deployment process
- Service health monitoring and validation
- Streamlined troubleshooting workflow
- Professional logging presentation

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 10:26:34 +08:00
root
79162a4205 Fix: Configure Go proxy for faster dependency downloads
- Added GOPROXY=https://goproxy.cn,direct for Chinese mirror
- Added GOSUMDB=sum.golang.google.cn for checksum database
- Fixes timeout issues when downloading Go modules during CI/CD build
- Resolves build failure due to network connectivity to proxy.golang.org

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 10:09:18 +08:00
root
0fb7557c27 Fix: Use docker/ prefix for all private registry images
- Updated all image paths to include docker/ prefix
- .gitlab-ci.yml: 192.168.1.154:31010/docker/alpine:latest
- Dockerfile: Both build and run stages use docker/alpine:latest
- Matches private registry structure where images are in docker/ directory

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 09:47:04 +08:00
root
f894bc212e Revert to using private registry for all images
- Changed .gitlab-ci.yml back to use 192.168.1.154:31010/alpine:latest and docker/compose:latest
- Updated Dockerfile to use private registry alpine image
- Fixed Docker installation order in CI/CD
- All images now consistently use private registry

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 09:45:01 +08:00
root
b75a396378 Fix CI/CD: Use Docker Hub images as temporary solution
- Reverted to using Docker Hub images (alpine:latest, docker/compose:latest)
- This allows CI/CD to work while private registry is being configured
- TODO: Configure private registry and switch back to private images

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 09:38:00 +08:00
root
0beb859c54 Update Dockerfile to use private registry for alpine base image
- Changed FROM alpine:latest to FROM 192.168.1.154:31010/alpine:latest
- Added push-images.bat script to help push base images to private registry
- Ensures all CI/CD pipeline uses consistent registry sources

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-19 09:36:04 +08:00
root
13fabbd5fc Fix CI/CD: Use available images from private registry 2025-12-18 15:47:17 +08:00
root
2e297cf82f Configure CI/CD to use private Nexus registry 2025-12-18 15:20:41 +08:00
root
8232827835 Initial commit 2025-12-18 09:34:49 +08:00