Make Hydra evaluation work properly
This commit is contained in:
parent
8a5a230f4c
commit
b71661f420
|
@ -892,15 +892,17 @@ want to test for.
|
|||
We can compose tests in the following Nix expression:
|
||||
|
||||
```nix
|
||||
{ pkgs ? import <nixpkgs> { inherit system; }
|
||||
{ nixpkgs ? <nixpkgs>
|
||||
, system ? builtins.currentSystem
|
||||
, processManagers ? [ "supervisord" "sysvinit" "systemd" "docker" "disnix" "s6-rc" ]
|
||||
, profiles ? [ "privileged" "unprivileged" ]
|
||||
}:
|
||||
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
|
||||
testService = import ../../nixproc/test-driver/universal.nix {
|
||||
inherit system;
|
||||
inherit nixpkgs system;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@ rec {
|
|||
};
|
||||
|
||||
services = import ./tests/services {
|
||||
inherit pkgs system;
|
||||
inherit nixpkgs system;
|
||||
};
|
||||
|
||||
multi-process-images = import ./tests/multi-process-images.nix {
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
{ pkgs ? import <nixpkgs> { inherit system; }
|
||||
{ nixpkgs ? <nixpkgs>
|
||||
, system ? builtins.currentSystem
|
||||
, processManagers ? [ "supervisord" "sysvinit" "systemd" "docker" "disnix" "s6-rc" ]
|
||||
, profiles ? [ "privileged" "unprivileged" ]
|
||||
}:
|
||||
|
||||
let
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
|
||||
testService = import ../../nixproc/test-driver/universal.nix {
|
||||
inherit system;
|
||||
inherit nixpkgs system;
|
||||
};
|
||||
in
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue