OfBorg

From NixOS Wiki
Revision as of 08:18, 28 September 2024 by Sorrel (talk | contribs) (→‎Status: add note about stats.php)

OfBorg is the primary CI service on Nixpkgs.

Checks

This section outlines the various checks which OfBorg performs.

ofborg-eval

Checks that the changed Nix Expression Language files are valid.

ofborg-eval-check-maintainers

Checks that the changed package's maintainers are added to maintainers/maintainer-list.nix.

This action returns a GitHub Gist with all maintainers found for a package.

ofborg-eval-check-meta

Checks that modified packages have an associated meta table inside of derivations.

ofborg-eval-darwin

Checks that the modified packages build correctly on Darwin (macOS) systems.

ofborg-eval-nixos

Checks that the modified packages build correctly on NixOS.

Commands

See [1].

Status

To see live logs from ofborg for a pull request, you can go to https://logs.ofborg.org/?attempt_id=-ofborg-&key=nixos%2Fnixpkgs.<PR NUMBER>. Replace <PR NUMBER> with the number of your pr, e.g 123456

To see the queue status for the builders, you can use the ofborg prometheus instance.

You can also find alerts on this prometheus instance.

Additionally, statistics about the size of the various build queues are available at stats.php.

Links