CI/CD · DevOps

Give pipelines a private path to staging, and nothing else.

A runner joins the network with an auth key, gets a tag, and can reach exactly what the rules for that tag allow. Staging never needs a public address, and an ephemeral runner is cleaned up after the job.

Keys made for machines

Auth keys can be single-use or reusable, can expire, and can mark the device as ephemeral so it is cleaned up afterwards.

Tagged on arrival

A key applies tags to whatever enrolls with it. Rules name the tag, so a new runner needs no new rule.

Scriptable end to end

Create keys, list devices and change policy through the REST API, and react to events with signed webhooks.

How it works

Three lines in the job, one rule in the policy.

  1. 01

    Create a key for CI

    Under Settings, Keys: ephemeral, with the tag ci. Store it as a secret in your CI system.

  2. 02

    Join from the job

    Install the Linux client on the runner and sign it in with the key. No browser is involved.

    peerlify login --auth-key=$KEY

  3. 03

    Allow ci to reach staging

    One rule from tag:ci to tag:staging. Production has no such rule, so the runner cannot reach it.

Checks before you rely on it

Prove the path in the pipeline itself.

The CLI has JSON output, so a job can wait for a peer and fail fast when a rule is missing instead of timing out on a deploy.

peerlify ping staging-api --until-direct

Not there yet

  • The client needs a Linux host with systemd. It does not run inside a container job.
  • Arch and Alpine are not supported by the installer.
  • The private network carries IPv4 only.

Take staging off the public internet.

The API, scoped tokens and webhooks are included on every plan.