Skip to main content

Runners concepts

Fluence Runners runs the CI/CD jobs of your repositories on ephemeral virtual machines in your Fluence account. You connect a repository once. From then on, its jobs run on Fluence instead of on the runners of your CI provider or on your own machines.

In the Fluence Console, Runners is the Runners section. To connect a repository, see Connect a repository to Runners.

How a runner works​

Each job gets its own runner:

  1. A job of a connected repository starts and asks for a Fluence runner.
  2. Fluence starts a clean virtual machine for the job. The VM starts quickly, so the job waits little for a machine.
  3. The job runs on the VM and uses the build cache of the repository.
  4. When the job ends, Fluence removes the VM.

A runner is clean: every job starts on a new VM, with no files and no state from an earlier job. A runner is ephemeral: the VM exists only while the job runs. The build cache is separate from the VM and outlives the job. See Build cache.

Billing​

Runners are billed in USD from your prepaid balance, by the second:

  • You pay only for the seconds a job is active.
  • Fluence does not round a job up to a minute. A job that runs for a few seconds costs a few seconds.
  • Cache above the free tier of a repository is billed by usage. See Build cache.

Top up your balance before you connect a repository. See Payment and balance management.

CI providers​

You can connect repositories from these CI providers:

CI providerWhat runs on Fluence
GitHub ActionsThe workflows of a GitHub repository
GitLab CIThe pipelines of a project on gitlab.com or on a self-hosted GitLab
Forgejo Actions and Gitea ActionsThe actions of a repository on a Forgejo or Gitea instance

Build cache​

Runners come with a build cache for each repository. It keeps build output and downloaded dependencies between jobs, so a later job restores them instead of downloading and building again.

  • Each repository gets 10 GiB of cache for free. Cache above that is billed by usage.
  • When a repository reaches its quota, Fluence removes older cache entries by itself. You do not manage the cache by hand.
  • The Runners section shows how much of its quota a repository uses.

API keys​

Runners authenticate with a Fluence API key of your account that has the Runners permissions (runners:read and runners:write). Create the key under Settings > API keys with only these permissions, so that a leaked key cannot change your other resources. See API keys and Permissions.

Job history​

The Runners section keeps the job history and the analytics of each repository. Both stay when you link the repository again, for example after you removed the link or moved the repository. See Link a repository again.