2.1 KiB
2.1 KiB
Contributing to worker-vllm
🚀 Release Process
Development Workflow
-
Feature Development
git checkout -b feature/your-feature-name # Make your changes git push origin feature/your-feature-name- Creates pull request → triggers dev build:
runpod/worker-v1-vllm:dev-refs-pull-214-merge
- Creates pull request → triggers dev build:
-
Main Branch
git checkout main git merge feature/your-feature-name git push origin main- No automatic builds on main (staging area)
Creating Releases
Method 1: GitHub UI (Recommended)
- Go to Releases
- Click "Create a new release"
- Tag version:
v2.8.0(with "v" prefix, semantic versioning) - Target:
mainbranch - Title:
Release 2.8.0 - Description: Brief changelog
- Click "Publish release"
Method 2: Git CLI
git checkout main
git tag v2.8.0
git push origin v2.8.0
What Happens Automatically
✅ GitHub Release created (if using Method 1)
✅ Docker Image built and pushed: runpod/worker-v1-vllm:v2.8.0
✅ Documentation updated with new version references
📋 Version Format
- Format:
vMAJOR.MINOR.PATCH(e.g.,v2.8.0) - With "v" prefix: Use
v2.8.0for git tags - Semantic Versioning: Follow SemVer
🐛 Development
Running Tests
# Update test configuration in .runpod/tests.json
# Tests run automatically via RunPod platform
Model Updates
- Update
MODEL_NAMEin.runpod/tests.jsonandworker-config.json - Ensure model has vLLM support and chat template (for OpenAI compatibility)
Environment Variables
See README.md for full list of supported environment variables.
🔧 CI/CD Workflows
- Dev builds: All pull requests →
dev-refs-pull-<PR#>-mergeimages - Release builds: Git tags → versioned images + GitHub releases
- Manual triggers: Available in GitHub Actions for emergency releases