Self-hosting enterprise CI solutions like GitLab Runner or Jenkins is notoriously resource-heavy, often requiring gigabytes of RAM just to idle. When Drone CI changed its open-source licensing to a proprietary enterprise model, the open-source community created Woodpecker CI. It maintains a clean, container-native architecture where every pipeline step runs in an isolated ephemeral Docker container, requiring minimal server resources while providing maximum reproducibility.
Pipeline YAML Simplicity
Unlike verbose Jenkinsfiles or heavily nested GitHub Actions YAML, Woodpecker's pipeline syntax is clean and legible:
steps:
test:
image: python:3.12-slim
commands:
- pip install -r requirements.txt
- pytest
build:
image: plugins/docker
settings:
repo: myuser/myapp
tags: latest
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch: main
event: push
Woodpecker Agent-Server Topology
CI Runner Comparison: Woodpecker vs GitLab Runner vs Jenkins
| Metric | Woodpecker CI | GitLab CI | Jenkins |
|---|---|---|---|
| Idle Server RAM | ~40 MB | 2 GB - 4 GB | 1 GB - 2 GB |
| Pipeline Isolation | Strict container isolation | Docker / Shell / Kubernetes | Node host process (often dirty) |
| Open Source Governance | Community Owned (Apache 2.0) | Open-Core / Commercial | Community Owned (MIT) |
The Woodpecker Agent authenticates to the Woodpecker Server via a shared cryptographic string defined in WOODPECKER_AGENT_SECRET. If this secret is changed in the server configuration without simultaneously updating the agent container environment, the agent will silently fail to register and all scheduled builds will remain permanently stuck in "Pending" status with no visible error in the web UI.
For deployment guides, Kubernetes Helm charts, and agent configurations, visit woodpecker-ci.org or check the GitHub repository.
Discussion & Issues
Comments
Post a Comment