hydra/src
Maximilian Bosch 415f9f2daa Running builds view: show build step names
When using Hydra to build machine configurations, you'll often see
"nixosConfigurations.foo" five times, i.e. for each build step being
run. This isn't very helpful I think because in such a case, a single
build step can also be compiling the Linux kernel.

This change also fetches the `drvpath` and `type` from the `buildsteps`
relation. We're already joining it, so this doesn't make much difference
(confirmed via query logging that this doesn't cause extra SQL queries).

Unfortunately build steps don't have a human readable name, so I'm
deriving it from the drvpath by stripping away the hash (assuming that
it'll never contain a `-` and that `/nix/store/` is used as prefix). I
decided against using the Nix bindings for that to avoid too much
overhead due to store operations for each build step.
2024-03-18 18:46:01 +01:00
..
hydra-eval-jobs More CA derivations prep 2024-01-25 21:32:22 -05:00
hydra-evaluator Update to Nix 2.19 2023-11-30 15:26:46 -05:00
hydra-queue-runner hydra-queue-runner: drop broken connections from pool 2024-03-16 22:10:40 +01:00
lib Running builds view: show build step names 2024-03-18 18:46:01 +01:00
libhydra Update to Nix 2.19 2023-11-30 15:26:46 -05:00
root Running builds view: show build step names 2024-03-18 18:46:01 +01:00
script More CA derivations prep 2024-01-25 21:32:22 -05:00
sql Add migration to drop non-null constraints 2024-01-26 11:53:58 -05:00
ttf Add font for the captcha 2013-03-04 12:16:13 +01:00
Makefile.am Revert "hydra-eval-jobs -> nix eval-hydra-jobs" 2020-02-19 20:36:52 +01:00
Makefile.PL perlcritic: use strict, use warnings 2021-09-06 22:13:33 -04:00