OfBorg: Difference between revisions

From NixOS Wiki
imported>Tomodachi94
m Add link for commands and wiki
Add reference to the meaning of the name OfBorg and some additional links
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{WIP}}
{{expansion|This page is a work in progress.}}


'''OfBorg''' is the primary CI service on [[Nixpkgs]].
[https://github.com/NixOS/ofborg '''OfBorg'''] is the primary [https://en.wikipedia.org/wiki/Continuous_integration CI] service on [[Nixpkgs]].


== Checks ==
== Checks ==
Line 25: Line 25:
== Commands ==
== Commands ==
See [https://github.com/NixOS/ofborg#commands].
See [https://github.com/NixOS/ofborg#commands].
== Status ==
To see live logs from ofborg for a pull request, you can go to <code><nowiki>https://logs.ofborg.org/?attempt_id=-ofborg-&key=nixos%2Fnixpkgs.&lt;PR NUMBER&gt;</nowiki></code>. Replace <code>&lt;PR NUMBER&gt;</code> with the number of your pr, e.g <code>123456</code>
To see the queue status for the builders, you can use [https://ofborg.org/prometheus/graph?g0.expr=ofborg_queue_builder_waiting{arch!%3D%22aarch64-darwin-lowprior%22%2Carch!%3D%22x86_64-darwin-lowprior%22}%20or%20ofborg_queue_evaluator_waiting&g0.tab=0&g0.stacked=0&g0.show_exemplars=0&g0.range_input=3d the ofborg prometheus instance].
You can also find [https://ofborg.org/prometheus/alerts alerts] on this prometheus instance.
Additionally, statistics about the size of the various build queues are available at [https://events.ofborg.org/stats.php stats.php].
== Trivia ==
The name "Of Borg" is in reference to an American TV series called Star Trek, where a prominent character was [https://en.wikipedia.org/wiki/Borg#Assimilation assimilated] into an alien group and his name changed to "Locutus Of Borg". Further information can be found in the ofborg [https://github.com/NixOS/ofborg/issues/689#issuecomment-2295416227 issues] tracker.


== Links ==
== Links ==

Latest revision as of 01:05, 7 October 2024

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.

Trivia

The name "Of Borg" is in reference to an American TV series called Star Trek, where a prominent character was assimilated into an alien group and his name changed to "Locutus Of Borg". Further information can be found in the ofborg issues tracker.

Links