release.nix: Add testedPlus aggregate job
This includes the whole `tested` job (a simple no-op for hydra), but
adds additional things we want to track success for.
`tested` is for the basic minimum we want to succeed.
`testedPlus` adds more exotic, and less well-tested platforms.
@@ -128,7 +128,7 @@ let
aarch64-linux.rootfs = aarch64-eval.build.rootfs;
};
in
-{
+rec {
inherit device;
inherit examples-demo;
@@ -160,4 +160,32 @@ in
description = "Representative subset of devices that have to succeed.";
};
};
+
+ # Uses the constituents of tested
+ testedPlus = let
+ hasSystem = name: lib.lists.any (el: el == name) systems;
+
+ constituents = tested.constituents
+ ++ lib.optionals (hasSystem "x86_64-linux") [
+ device.asus-flo.x86_64-linux
+ ]
+ ++ lib.optionals (hasSystem "aarch64-linux") [
+ ]
+ ++ lib.optionals (hasSystem "armv7l-linux") [
+ device.asus-flo.armv7l-linux
+ ]
+ ;
+ in
+ releaseTools.aggregate {
+ name = "mobile-nixos-tested";
+ inherit constituents;
+ meta = {
+ description = ''
+ Other targets that may be failing more often than `tested`.
+ This contains more esoteric and less tested platforms.
+
+ For a future release, `testedPlus` shoud also pass.
+ '';
+ };
+ };
}
