App GitHub runners (add-on)
The GitHub runners add-on gives an App Host app its own pool of GitHub Actions runners that Orkestia operates. You need no cloud account and no connection, and there is no cluster, image or network to set up.
A pool has one of two placements:
| Placement | What a job runs on | Pick it when |
|---|---|---|
shared (the default for a new pool) | Its own isolated machine, created for that one job and deleted after it. Docker works in every job | Almost always: tests, lint, builds, image builds, service containers |
dedicated | The pool's own Azure VMs, kept for this pool and reused between jobs | A job needs a machine that outlives it, or a size the shared sizes do not cover |
| Add-on name | github-runner (family ci_runners in apphost.site.addons) |
| Verbs | apphost.addon.github-runner.apply, .status, .remove |
| Runner group | One per app, purpose=github_actions, integration=github, organization scope |
| Who can turn it on or off | Organization owners and admins. Members can read the status |
| Works on | Any app, including a static site with no process |
Turn it on
In Cockpit: open the app, go to the Add-ons tab, and choose GitHub runners → Turn on…. Pick the GitHub installation, the placement and the size, then confirm.
With an assistant or the API:
apphost.addon.github-runner.apply
site_uuid the app's site (required)
github_installation_uuid your organization's GitHub App installation, or its GitHub connection (required)
placement shared (default for a new pool) | dedicated
max_concurrent jobs (shared) or machines (dedicated) at once, 1 to 16 (default 2)
runner_labels extra labels, on top of the pool's own
shared only
slot_size 2c8g (default) | 4c16g | 8c32g
image {ref}: the image each job runs in; leave it out for the default image
egress {egress_ip_uuid, destinations, tcp}: send chosen traffic through a static egress IP
warm_pool {enabled, min_warm_idle, idle_ttl_minutes}
dedicated only
run_mode standard (default) | docker_build
vm_size D2as_v7 (default) | D4as_v7 | D8as_v7
warm_pool {enabled, min_warm_idle, idle_ttl_minutes, max_jobs, max_age_hours}
max_count is the older name of max_concurrent and is still accepted. Calling apply again changes the pool in place, and a request without placement keeps the pool's placement. An input that belongs to the other placement is refused with its name, so a typo never switches a pool.
Use it from a workflow
The pool registers on your GitHub organization, in its Default runner group, so every repository of that installation can use it. A job picks the pool by label:
jobs:
build:
runs-on: [self-hosted, orkestia-<app-slug>]
| Label | When |
|---|---|
self-hosted | Always |
orkestia-<app-slug> | Always. This is the label that picks the pool |
linux, x64 | Shared pools |
docker | Dedicated pools in docker_build mode |
Your runner_labels | When you add them. docker is refused on a standard dedicated pool |
.status returns the exact runs-on line to copy.
Shared runners
Each queued job gets its own machine: a fresh, isolated virtual machine created for that one job and deleted when it ends. Nothing a job writes, installs or starts is seen by any other job, yours or anyone else's.
Sizes
slot_size | Add-on size | vCPU | Memory | Disk |
|---|---|---|---|---|
2c8g (default) | small | 2 | 8 GiB | 40 GiB |
4c16g | medium | 4 | 16 GiB | 80 GiB |
8c32g | large | 8 | 32 GiB | 150 GiB |
A job's vCPUs and memory are reserved for it and never overcommitted. The machines run in Azure Central US.
What a job gets
| Docker | In every job: docker build, docker run, services:, container: jobs and compose |
| User | The image's own user, or root when the image names none. The default image runs as runner, with passwordless sudo and Docker |
| Network | Outbound internet. No access to private networks, to other jobs, or to the machine that hosts the job |
| Cloud identity | None. A job has no Azure (or other cloud) identity or metadata service. Sign in to your cloud from the workflow, for example with GitHub OIDC |
| Time limit | 6 hours per job |
| Runner software | The GitHub Actions runner, kept current by Orkestia. It does not depend on your image |
Image
Each job runs in a container image. Leave image out and jobs use Orkestia's default image: Ubuntu 24.04 with git, git-lfs, build-essential, Python 3, jq, zip tools and the Docker CLI with buildx and compose, ready for actions/checkout, actions/setup-* and the common marketplace actions.
To use your own, send image: {ref: "<registry>/<path>:<tag>"} (a digest works too). The image is checked before the pool is saved, and the apply fails with image_not_supported and the reason when a job could not run in it.
| Image | Allowed |
|---|---|
| A public image on any registry (Docker Hub, GHCR, Quay, …) | Yes |
A private image on your Orkestia registry (registry.orkestia.dev/<your namespace>/<image>:<tag>) | Yes. Each job pulls it with a short-lived, pull-only login Orkestia signs for that job. You configure nothing |
| A private image on any other registry | No: a registry login cannot be given (image_login_not_supported). Push the image to your Orkestia registry instead |
The image needs a linux/amd64 variant. Alpine (musl) and distroless images work, because the runner brings what it needs. Send image: {} (or "default") to go back to the default image.
Warm machines and queueing
By default nothing is kept waiting: a job's machine is created when the job is queued. It is usually ready in under a minute, and longer when Orkestia has to add capacity first. To have machines ready for a burst, set warm_pool:
| Key | Meaning |
|---|---|
enabled | Allow warm machines (default on, with none kept idle) |
min_warm_idle | Machines kept ready with no job, up to max_concurrent. 0 (the default) keeps none |
idle_ttl_minutes | Delete a warm machine above the floor after this long (default 2) |
A warm machine still takes one job and is then deleted. It is reserved for you while it waits, so it counts as usage.
When the pool is at max_concurrent, or your organization is at its shared-capacity limit, new jobs wait in GitHub's queue and start as soon as a running one finishes.
Static egress IP
To reach a destination that accepts only known addresses, send chosen traffic through one of your organization's static egress IPs:
egress: {
egress_ip_uuid: "<one of yours, from apphost.egress-ip.list>",
destinations: [{host: "api.partner.example", port: 443}]
}
Only the listed destinations go through the IP; everything else leaves the usual way. An egress IP a pool uses cannot be released until the pool stops using it.
Dedicated runners
The pool's own Azure VMs that Orkestia operates, kept for this pool and reused between jobs.
Modes
run_mode | What a job gets | Use it for |
|---|---|---|
standard (default) | An unprivileged runner container on the machine, with no Docker socket and no host mount. Each job gets a fresh container, and its work volume is deleted afterwards | Tests, lint, builds that need no Docker |
docker_build | The machine's own Docker daemon: docker build, services:, container: jobs and compose | Image builds and jobs that need service containers |
In docker_build mode a job is root on the machine, so a reused machine is fully reset between jobs and serves only this app's pool.
Sizes and reuse
vm_size | Add-on size | vCPU | Memory |
|---|---|---|---|
D2as_v7 | small | 2 | 8 GiB |
D4as_v7 | medium | 4 | 16 GiB |
D8as_v7 | large | 8 | 32 GiB |
The machines run in Azure Central US. Reuse is on by default, with no machine kept idle: a machine that finishes a job takes the next one, and after 15 idle minutes it is deleted. Tune it with warm_pool:
| Key | Meaning |
|---|---|
enabled | Reuse machines between jobs. Off means a fresh machine per job |
min_warm_idle | Machines kept ready with nothing to do. 0 means scale to zero |
idle_ttl_minutes | Delete an idle machine above the floor after this long |
max_jobs | Replace a machine after this many jobs |
max_age_hours | Replace a machine after this age |
The pool follows the same controller as every other Azure VM pool. See Warm pools and scaling.
Switch placement
Send apply with the other placement and that placement's inputs. Running jobs finish where they are: moving to shared drains the dedicated machines, and moving to dedicated stops the idle shared ones. The runs-on label stays the same, so workflows need no change.
Status
apphost.addon.github-runner.status (or the add-on card in Cockpit) shows the placement, size, image, maximum at once, warm settings, labels and runs-on line, the machines by state, queued jobs, the last 10 jobs, and this month's usage. If the runner side cannot be read at that moment, the status still returns the add-on, with runners: null and an unavailable_reason.
Usage and cost
Every row carries the app it belongs to, and the lines appear in the Cost Center. The add-on does not keep the app's own process awake, and it is never also counted as app process time.
| Placement | What is recorded |
|---|---|
shared | Each job's machine, from start to delete: reserved vCPU-hours, memory GiB-hours and disk GiB-hours for its size, and its egress. Warm machines count while they wait |
dedicated | Each machine from creation to deletion: CPU hours, memory GiB-hours, OS disk, public IP and egress |
These lines are informational today. They show what the pool would cost, and you get notice before they are billed. A pool with nothing running costs nothing.
Turn it off
GitHub runners → Turn off… in Cockpit, or apphost.addon.github-runner.remove. Run it with dry_run: true first to see what would be deleted. Remove drains the pool, deregisters each runner on GitHub, deletes every machine, and then deletes the runner group. It is safe to repeat.
What you can and cannot change
The add-on owns the pool. runner.group-update refuses the keys that tie the pool to the app (hosted_site_uuid, identity_app_uuid, run_mode), and the pool's placement, network, image and identity are Orkestia's and do not appear in data.runner.get-group. Change the pool through the add-on, not through the Runners app.
See also
- Orkestia-hosted runners: hosted CI pools that are not tied to an app
- Azure VM: the same kind on your own Azure connection
- Orkestia registry
- Static egress IP
- App Host
Warm pools and scaling
Which runner kinds keep a warm pool, the config.warm_pool keys and their defaults, how warm runners are reset between jobs, and how groups without a warm pool scale per job
Chat
Chat spaces for identity apps. Your end users sign in with their app identity, talk in channels, threads and DMs, and your Staff actors answer inside the same conversation. Every control-plane operation is a workflow
