1
0
Fork 0
mirror of https://github.com/NixOS/hydra.git synced 2024-10-17 16:37:26 -04:00
hydra/t
Maximilian Bosch e499509595
Switch to new Nix bindings, update Nix for that
Implements support for Nix's new Perl bindings[1]. The current state
basically does `openStore()`, but always uses `auto` and doesn't support
stores at other URIs.

Even though the stores are cached inside the Perl implementation, I
decided to instantiate those once in the Nix helper module. That way
store openings aren't cluttered across the entire codebase. Also, there
are two stores used later on - MACHINE_LOCAL_STORE for `auto`,
BINARY_CACHE_STORE for the one from `store_uri` in `hydra.conf` - and
using consistent names should make the intent clearer then.

This doesn't contain any behavioral changes, i.e. the build product
availability issue from #1352 isn't fixed. This patch only contains the
migration to the new API.

[1] https://github.com/NixOS/nix/pull/9863
2024-02-12 18:50:56 +01:00
..
content-addressed Minimal CA support 2024-01-26 00:34:58 -05:00
evaluator feat(t/evaluator/evaluate-oom): comment intentions 2022-05-02 15:26:26 -04:00
Helper/AddBuilds AddBuilds: fix declarative jobsets with dynamic runcommand enabled 2022-06-30 01:49:30 +02:00
Hydra Relax time interval checks 2023-06-23 15:09:09 +02:00
input-types perlcritic: use strict, use warnings 2021-09-06 22:13:33 -04:00
jobs Remove now-unneeded workaround 2024-01-26 01:20:07 -05:00
lib More CA derivations prep 2024-01-25 21:32:22 -05:00
queue-runner Minimal CA support 2024-01-26 00:34:58 -05:00
scripts fixup: make id non-ambiguous 2022-03-19 23:56:47 -04:00
api-test.t api-test.t: don't print request content 2022-01-10 11:02:01 -05:00
build-products.t build-products: switch to makeAndEvaluateJobset 2021-12-14 20:32:13 -05:00
Makefile.am Start checking PRs with perlcritic 2021-08-20 11:06:43 -04:00
perlcritic.pl Start checking PRs with perlcritic 2021-08-20 11:06:43 -04:00
s3-backup-test.config tests: move to t, allow yath test from root 2021-03-05 09:49:06 -08:00
s3-backup-test.pl Switch to new Nix bindings, update Nix for that 2024-02-12 18:50:56 +01:00
setup-notifications-jobset.pl JSON -> JSON::MaybeXS 2021-12-13 15:37:56 -05:00
test.pl Update t/test.pl: fixup the list of env vars yath looks at for job count 2022-02-10 11:53:10 -05:00