---
title: "How to choose a CI/CD system: hosted, self-hosted or both · CloudSat"
description: "A practical way to choose CI/CD in 2026: GitHub Actions, GitLab CI, Jenkins, Woodpecker and Forgejo Actions compared on runners, cost, security and upkeep."
url: https://cloudsat.io/learn/choose-a-ci-cd-system
updated: 2026-11-18T12:00:00Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

[DevOps](https://cloudsat.io/learn/topic/devops-and-automation)

# How to choose a CI/CD system: hosted, self-hosted or both

A practical way to choose CI/CD in 2026: GitHub Actions, GitLab CI, Jenkins, Woodpecker and Forgejo Actions compared on runners, cost, security and upkeep.

CloudSat team November 18, 2026 6 min read

Most teams never choose a CI/CD system. They use whatever comes with their Git host, and most of the time that is the right call. It stops being right when builds get slow or expensive, when jobs need to reach private networks or special hardware, or when the code moves to a self-hosted forge. This guide gives you the criteria that actually separate the options, and a way to keep your pipelines portable so the choice is never permanent.

## Start from where the code lives

CI that is built into your Git platform wins on integration: status checks, merge blocking, secrets and permissions all work without glue.

| Code hosted on | Built-in CI | Runner you can self-host |
| --- | --- | --- |
| GitHub | GitHub Actions | GitHub Actions runner (MIT) |
| GitLab.com or GitLab CE/EE | GitLab CI/CD | GitLab Runner (MIT) |
| Forgejo | Forgejo Actions | Forgejo Runner |
| Gitea | Gitea Actions | Gitea Runner |
| Anywhere | None | Jenkins, Woodpecker CI |

Forgejo and Gitea use GitHub-style workflow files, stored in `.forgejo/workflows` or `.gitea/workflows`; Forgejo falls back to `.github/workflows` when its own directory is absent. Many existing workflows run with small changes, but compatibility is not complete.

## The standalone options

**Jenkins** is the veteran: MIT-licensed, endlessly extensible through plugins, configured with a `Jenkinsfile`. Current LTS releases run on Java 21 or 25. Its weakness is upkeep. A Jenkins controller with dozens of plugins needs regular, careful updates, and plugin compatibility is often what breaks. Choose it when you need its integrations or already have the expertise.

**Woodpecker CI** is a lightweight, container-native engine under Apache 2.0. Each pipeline step runs in a container, pipelines live in `.woodpecker.yaml` or a `.woodpecker/` directory, and it connects to GitHub, GitLab, Gitea, Forgejo and Bitbucket. It suits teams that want a self-hosted CI with a small footprint and a simple model.

**Kubernetes-native engines** such as Tekton or Argo Workflows make sense only if you already operate Kubernetes; otherwise they bring a cluster to a pipeline problem.

## Six criteria that decide

### 1. Where jobs run

Hosted runners are convenient and isolated, but they sit outside your network. If tests need a staging database behind a firewall, a GPU, an ARM machine or a large dataset already on a server, self-hosted runners are the practical answer. GitHub also offers hosted macOS and Windows runners, which matters for desktop and mobile builds.

### 2. Cost model

Hosted runners bill by the minute, with free allowances that vary by plan. Self-hosted runners cost a server whether or not jobs are running, but heavy pipelines often keep them busy. Two details shift the math. Caches stay warm on a persistent runner, which can shorten builds noticeably. And vendors change pricing: in December 2025, GitHub announced a per-minute fee for self-hosted runner usage, then postponed it after strong pushback. Check current billing pages before you plan around any minute being free.

### 3. Security

CI runs code from every branch, which makes runners a prime target.

- Never attach self-hosted runners to **public** repositories. GitHub's documentation warns that a pull request from a fork can run arbitrary code on the runner.
- Prefer **ephemeral** runners that take one job and are destroyed, so nothing persists between jobs.
- Give jobs **short-lived credentials**. Most platforms can issue OIDC tokens that cloud providers exchange for temporary access, which removes long-lived keys from CI secrets.
- **Pin third-party actions** to a commit SHA, since a moved tag can change what runs with your secrets.

### 4. Maintenance

Every self-hosted component needs updates: the server, the runners, the base images. Built-in CI on a hosted Git platform moves that work to the vendor. If nobody owns CI on your team, that matters more than any feature.

### 5. Reuse

Shared building blocks save the most time over a year. GitHub Actions has a large marketplace of reusable actions, GitLab has CI/CD components and `include`, Jenkins has shared libraries, and Woodpecker has plugins that are simply container images.

### 6. Speed of feedback

Measure the wait a developer actually sees: queue time plus run time. A busy shared runner pool can add minutes before a job starts. Parallel jobs, a cache and a runner close to your artifacts usually help more than switching tools.

## Self-hosted runners done right

A runner is a server with Docker and an agent. After downloading and unpacking the runner release for your OS into a directory, registering it as ephemeral looks like this:

```bash
cd actions-runner
./config.sh --url https://github.com/acme/shop --token REGISTRATION_TOKEN \
  --labels linux,x64,build --ephemeral
./run.sh
```

An ephemeral runner exits after one job, so wrap it in a supervisor that registers a fresh runner each time, or recreate the whole VM per job. Whatever the platform:

- Run one job per runner at a time unless jobs are fully isolated in containers.
- Keep runners off servers that host production data.
- Put caches on fast local disks and clear workspaces between jobs.
- Size CPU for your parallel jobs and memory for your heaviest build, which is often linking or bundling.

A [Cloud VPS](https://cloudsat.io/cloud-vps) works well as a general runner, and serial build steps finish faster on the higher clock speeds of a [High Frequency VPS](https://cloudsat.io/high-frequency-vps).

## Keep pipelines portable

The cheapest insurance against a future migration is a thin CI file:

- Put the real logic in scripts or a `Makefile`, so the pipeline only calls `make lint test build`.
- Run jobs in pinned container images, so the toolchain is identical on a laptop, a hosted runner or a self-hosted one.
- Store versions of tools in the repository, not in the runner's base image.

With that discipline, moving from one CI system to another is a day of rewriting YAML, not a quarter of untangling scripts.

## A short decision list

- **Code on GitHub or GitLab, standard workloads:** use the built-in CI and its hosted runners.
- **Same, but slow or costly builds, or private network access:** keep the built-in CI and add self-hosted runners.
- **Code on Forgejo or Gitea:** start with their Actions and a runner on a separate server.
- **Several Git hosts, or a need for a neutral CI:** Woodpecker for simplicity, Jenkins for maximum integrations.

## FAQ

### Is Jenkins still a reasonable choice in 2026?

Yes, when you need its plugin ecosystem or complex, long-running pipelines across many systems. For a new team with standard needs, built-in CI or Woodpecker involves far less maintenance.

### How many runners do I need?

Count the jobs you want to run at the same time during your busiest hour. Start with that many concurrent slots, then watch queue times; if jobs wait regularly, add capacity.

### Are hosted runners safer than self-hosted ones?

They are isolated and discarded after each job by default, which removes a whole class of persistence risks. Self-hosted runners can be just as safe when they are ephemeral, isolated from production and never used for untrusted code.

**Run it on CloudSat.** Cloud VPS on AMD EPYC and NVMe from $1.98/mo in 13 regions, delivered in under 5 minutes and paid in crypto. [See plans](https://cloudsat.io/plans) or [deploy a server](https://dash.cloudsat.io/console/deploy).

## Keep reading

[All guides in DevOps](https://cloudsat.io/learn/topic/devops-and-automation)

- [Visual regression tests in CI on a self-hosted runner](https://cloudsat.io/learn/visual-regression-tests-on-a-self-hosted-runner): DevOps Visual regression tests in CI on a self-hosted runner 7 min read
- [Lint gates for AI code: Ruff, ESLint and golangci-lint](https://cloudsat.io/learn/lint-gates-for-ai-written-code): DevOps Lint gates for AI code: Ruff, ESLint and golangci-lint 7 min read
- [Blue-green and canary releases on ordinary servers](https://cloudsat.io/learn/blue-green-and-canary-releases): DevOps Blue-green and canary releases on ordinary servers 6 min read
- [Switch from Terraform to OpenTofu: what changes, what breaks](https://cloudsat.io/learn/switch-from-terraform-to-opentofu): DevOps Switch from Terraform to OpenTofu: what changes, what breaks 7 min read
