Novabase

Use cases · Builds and tests

Build and test in a clean room.

Every job runs in its own isolated guest, from an exact saved revision, with its limits written down. Nothing is left over from the last job, and nothing is left behind for the next.

Run · repository-testsSucceeded
  1. DoneSaved revision selected r-0042
  2. DoneInputs admitted by the host
  3. DoneFresh guest started
  4. DoneTests run 9 of 9 passed
  5. GoneGuest thrown away
Illustration: one job, one guest, nothing left behind.

The problem

A shared build machine remembers things.

Caches, leftover files, a credential from the last job, a tool someone installed by hand. Sooner or later a build passes for the wrong reason, or fails for one you cannot reproduce.

The fix is not a cleanup script. It is a machine that did not exist before the job and does not exist after it.

How Nova handles it

From a saved revision to a recorded result.

  1. Pin what goes in

    The job names the exact repository tree and the commands to run. The host checks both before anything starts.

  2. Run in a fresh guest

    A new virtual machine starts for this job alone, with the limits from the source.

  3. Keep the result

    The run keeps its outcome, logs and outputs, the source it used and the isolation it ran under.

In the source

The limits are written down.

Processors, memory, processes, workspace, output, log size and time are fields in the job's source. They are reviewed with the plan and saved with the revision, so a job cannot quietly grow.

Start from the nova/repository-tests Blueprint and change the numbers.

system.orrChecked, no problems
let resources: catalog::tasks::types::TaskResources = catalog::tasks::types::TaskResources {
  virtual_cpus: 1,
  vm_memory_mib: 2048,
  job_memory_mib: 512,
  max_processes: 16,
  workspace_mib: 16,
  output_mib: 1,
  log_mib: 1,
  timeout_seconds: 60,
}
Illustration: a job's limits, from the project the repository tests Blueprint starts you with.

What you get

Results you can trust.

Good to know

The limits, plainly.

What can a job produce?

Logs and output files, up to the sizes written in its source.

Does a job have network access?

Only what its plan grants. A job with no network grant has none.

Where does it run?

On infrastructure Nova manages, or on your own connected hosts. Guests are x86-64.

Is this a full CI service?

It runs the jobs. Triggering them from a push to your repository is not part of it; you start a run from the console.

Keep going

Get started

Start with a project.

Pick a plan, sign up with your email and deploy your first Blueprint.