✨ Key Features
- Webhook Integration: Supports Coding.net merge request event processing
- Automated Deployment: Executes Git operations (checkout, pull, reset) based on configuration
- Message Queue: RabbitMQ integration for reliable task processing
- Docker Support: Containerized deployment with dual API and Consumer modes
- CLI Tool:
wcdcommand-line interface for manual management
🐳 Docker Deployment
# Build image
docker build -t webhook-cd .
# Run API server
docker run --env-file .env -e MAIN_BIN=api -p 8800:8800 webhook-cd
# Run consumer service
docker run --env-file .env -e MAIN_BIN=consumer webhook-cd📦 Components
- API Server: Webhook listener and HTTP API
- Consumer Service: Message queue processor
- CLI Tool: Command-line management interface
- Docker Configuration: Optimized containerization setup
⚠️ Important Notice
Development Use Only! This tool is not validated for production environments. Do not use in production.
📋 Requirements
- Node.js 18+
- RabbitMQ
- Coding.net or Github access
For complete setup and usage instructions, see README.md.