repobenchmarks // devops ci/cd
DEVOPS
$ docker compose up -d woodpecker-server woodpecker-agent

Woodpecker CI Engine

A truly open-source community fork of Drone CI providing simple, containerized pipeline execution for Forgejo, Gitea, GitHub, and GitLab.

License: Apache 2.0 (100% Free) Server RAM: < 50 MB Execution: Ephemeral Docker Containers
Git Push Forgejo / Gitea Webhook POST Agent Runner Docker Pipeline Isolated Container

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

Woodpecker CI Agent-Server Pipeline Architecture Shows web server receiving git webhooks and distributing pipeline jobs to lightweight worker agents running Docker containers. Git Server Forgejo / GitHub Webhook Woodpecker Server Job Queue & Web UI gRPC Dispatcher gRPC Woodpecker Agent Ephemeral Step Container 1 Ephemeral Step Container 2

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)
⚠ Secret Token Gotcha: Shared Secret Key

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.