Ferro BYO-Metal Docs
Run local CLI offloads and GitHub CI pipelines on your own Linux hardware without per-minute cloud runner markups.
Quickstart: First runner & offload in 5 minutes
Install the signed Linux agent, authenticate the CLI, and offload your first test suite.
v1.0 scope & sandbox boundaries
Docs reflect shipped Ferro v1.0 behavior; future work is marked Planned. Review the Security Model (shared Linux kernel, host network namespace, disk quotas) before running untrusted workloads.
Guides & Reference
Setup & Deployment
Reference & Operations
Provider guides
Hetzner
Provision Hetzner Cloud runners from the dashboard, or install the agent on any Hetzner server.
AWS EC2
Launch EC2 runners with a User-Data script, IMDSv2, and no inbound security group rules.
Google Cloud
Create Compute Engine runners with a startup script and no service account.
DigitalOcean
Bootstrap Droplet runners with cloud-init user data and doctl.
Implemented Today vs. Planned
| Capability | Status | Current Behavior |
|---|---|---|
| Direct CLI offload (pinned-TLS + Ed25519 v2) & default Relay Mode | Implemented | SHA-256 delta sync via zero-inbound-port Relay Mode by default (blobs transit the Control Plane over HTTPS with org-scoped TTL cleanup and SSE logs) or opt-in Direct Mode over pinned-fingerprint rustls TLS with short-lived Ed25519 v2 tickets and NDJSON live streaming. |
OS job sandboxing (systemd-run / bwrap + cgroups) | Implemented | Fail-closed --sandbox=auto runs jobs in transient systemd-run units under a dedicated ferro-job UID with read-only rootfs, masked agent credentials/stores, and cgroup v2 MemoryMax/TasksMax/CPUQuota limits (or bwrap namespaces). Shares the host Linux kernel (no microVM boundary). |
| GitHub App, Checks API & fork PR gating | Implemented | One-click GitHub App installation, short-lived single-repo contents:read clone tokens, GitHub Checks API reporting, push+PR coalescing, legacy HMAC-SHA256 webhooks, atomic FOR UPDATE SKIP LOCKED dispatch, and fork PR approval gating (require_approval default). |
Multi-step ferro.toml pipelines & sibling service containers | Implemented | Sequential [[pipeline.steps]] with per-step env/timeouts/working dirs, branch & path filters, atomic cancel_in_progress, and loopback-bound [[pipeline.services]] via rootless podman or docker. |
| Warm dependency cache & LRU eviction | Implemented | Agent-side copy-on-restore and atomic save for cache_paths / cache_key_files (with lockfile auto-detection, restore-key fallback, fork-PR write isolation, and size-based LRU caps via FERRO_CACHE_MAX_GB, FERRO_BLOBS_MAX_GB, and FERRO_MIRRORS_MAX_GB). |
| Run artifacts, JUnit test reports & status badges | Implemented | Tar+zstd build artifact uploads (artifacts), XXE-safe JUnit XML parsing (test_reports) rendered in the Run Inspector Tests tab & GitHub Checks, and opt-in SVG status badges. |
| Hetzner Cloud provisioning & ephemeral autoscaling pools | Implemented | Live Hetzner catalog & regional pricing, managed firewall, one-time enrollment cloud-init with metadata blocking, and cost-capped ephemeral autoscaling pools with 55-minute hourly-billing awareness. |
| Signed release binaries & verified installers | Implemented | Static Linux (musl x64 & arm64) and macOS CLI release archives with SHA256SUMS and keyless Sigstore Cosign bundles verified automatically by scripts/install-agent.sh and scripts/install-cli.sh. |
| Auth, email verification, TOTP 2FA & OIDC SSO (Scale) | Implemented | Required production email verification & password reset via Resend, TOTP 2FA with backup codes, and Scale-tier OIDC SSO with DNS domain verification, PKCE, JIT provisioning, and optional org enforcement. |
| Smart Test Cache v2 (declared targets) | Implemented | Conservative declared-target caching ([[test_cache.targets]] via ferro test & CI runs, paid-tier bundle add-on) with SHA-256 input hashing, output restoration, quotas, 14-day TTL, and read-only fork PRs. Automatic AST dependency discovery is Planned. |
| Firecracker / KVM microVM isolation | Planned | Hardware-virtualized per-run microVMs with isolated guest kernels and network namespaces for multi-tenant untrusted workloads. |
| Automatic AST test dependency discovery | Planned | Automatic import-graph / coverage-based selective test discovery without explicit inputs globs in ferro.toml. |
| Native AWS, DigitalOcean & Vultr API provisioning | Planned | You can connect servers on any cloud today via the Linux systemd installer; native API-driven provisioning & autoscaling currently supports Hetzner Cloud. |