No description
  • Python 80.1%
  • Shell 19.3%
  • Dockerfile 0.6%
Find a file
weimin023 44d44b12d2
Some checks failed
vLLM Production Autobuild / Evaluate Stored vs Upstream Hash (push) Successful in 1s
vLLM Production Autobuild / Build vLLM (hopper-fallback) (push) Failing after 8s
vLLM Production Autobuild / Build vLLM (blackwell) (push) Failing after 8s
vLLM Production Autobuild / Build vLLM (universal-stack) (push) Failing after 8s
vLLM Production Autobuild / Sync Hash Variable to Forgejo (push) Has been skipped
bugfix
2026-07-09 14:52:50 +00:00
.forgejo/workflows bugfix 2026-07-09 14:52:50 +00:00
forgejo-runner unified workflow 2026-07-07 15:10:15 +08:00
pyarmor-tools unified workflow 2026-07-07 15:10:15 +08:00
scripts eh 2026-07-09 13:56:06 +00:00
setup unified workflow 2026-07-07 15:10:15 +08:00
vllm-build/docker Build Info Metadata 2026-07-08 06:40:05 +00:00
.gitignore first commit: core infrastructure setup 2026-06-03 16:47:16 +08:00
build-targets.yml unified workflow 2026-07-07 15:10:15 +08:00
README.md update README.md 2026-06-09 09:56:22 +00:00

🚀 Forgejo Automated vLLM Autobuild Service

Self-hosted CI/CD pipeline for building custom vLLM Docker images (Blackwell / Hopper / Universal) with automated mirroring, matrix compilation, smoke testing, and Docker Hub publishing.


📁 Current Project Structure

.
├── .forgejo/
│   └── workflows/
│       ├── vllm-autobuild.yml          # Main build pipeline
│       └── vllm-pyarmor.yml            # Obfuscation release pipeline
├── .gitignore
├── README.md
├── setup/
│   ├── .env                            # ← Your secrets (ignored)
│   ├── .env.template
│   ├── bootstrap.sh                    # One-command provisioning
│   └── docker-compose.yml
└── vllm-build/
    └── docker/
        ├── Dockerfile.latest
        └── Dockerfile.pyarmor

⚙️ Setup & Configuration

1. Create setup/.env

Copy the template and fill in your credentials:

cp setup/.env.template setup/.env

Example setup/.env:

FORGEJO_PORT=4444
GITHUB_REPO_URL=https://github.com/vllm-project/vllm.git
GITHUB_TOKEN=ghp_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
DOCKERHUB_USERNAME=nctu6
DOCKERHUB_PASSWORD=your_dockerhub_password

2. Bootstrap the Entire System

chmod +x bootstrap.sh
./bootstrap.sh

This script will:

  • Start Forgejo + Runner
  • Create administrator user
  • Generate access token
  • Set up vLLM mirror repo (8h sync)
  • Create vllm-build repository
  • Inject secrets (ACCESS_TOKEN, Docker Hub, etc.)
  • Register the runner under administrator scope
  • Push workflows and Dockerfiles into the repo

🧪 Running the Pipeline

  1. Open Forgejo: http://localhost:4444
  2. Go to administrator/vllm-build
  3. Navigate to Actions → Run workflow (vLLM Production Autobuild)
  4. Choose options (Blackwell recommended for manual runs)

🔧 Verification Commands

# Check services
docker compose -f setup/docker-compose.yml ps

# Runner logs
docker logs forgejo-runner --tail 50

# Forgejo health
curl -I http://localhost:4444/api/healthz

🧹 Cleanup / Fresh Start

# Full reset
docker compose -f setup/docker-compose.yml down --volumes --remove-orphans
rm -rf setup/forgejo-data setup/runner-data
./bootstrap.sh

🔒 Security Notes

  • setup/.env is gitignored — never commit secrets
  • Runner uses host Docker socket (/var/run/docker.sock)
  • Admin password defaults to TemporaryAdminPass123! (change after first login)

Ready to test?
Run ./bootstrap.sh (if not already done), then trigger a manual workflow.


Last updated: 2026-06-09


---