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:
|
We can compose tests in the following Nix expression:
|
||||||
|
|
||||||
```nix
|
```nix
|
||||||
{ pkgs ? import <nixpkgs> { inherit system; }
|
{ nixpkgs ? <nixpkgs>
|
||||||
, system ? builtins.currentSystem
|
, system ? builtins.currentSystem
|
||||||
, processManagers ? [ "supervisord" "sysvinit" "systemd" "docker" "disnix" "s6-rc" ]
|
, processManagers ? [ "supervisord" "sysvinit" "systemd" "docker" "disnix" "s6-rc" ]
|
||||||
, profiles ? [ "privileged" "unprivileged" ]
|
, profiles ? [ "privileged" "unprivileged" ]
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
pkgs = import nixpkgs { inherit system; };
|
||||||
|
|
||||||
testService = import ../../nixproc/test-driver/universal.nix {
|
testService = import ../../nixproc/test-driver/universal.nix {
|
||||||
inherit system;
|
inherit nixpkgs system;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
@ -18,7 +18,7 @@ rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
services = import ./tests/services {
|
services = import ./tests/services {
|
||||||
inherit pkgs system;
|
inherit nixpkgs system;
|
||||||
};
|
};
|
||||||
|
|
||||||
multi-process-images = import ./tests/multi-process-images.nix {
|
multi-process-images = import ./tests/multi-process-images.nix {
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
{ pkgs ? import <nixpkgs> { inherit system; }
|
{ nixpkgs ? <nixpkgs>
|
||||||
, system ? builtins.currentSystem
|
, system ? builtins.currentSystem
|
||||||
, processManagers ? [ "supervisord" "sysvinit" "systemd" "docker" "disnix" "s6-rc" ]
|
, processManagers ? [ "supervisord" "sysvinit" "systemd" "docker" "disnix" "s6-rc" ]
|
||||||
, profiles ? [ "privileged" "unprivileged" ]
|
, profiles ? [ "privileged" "unprivileged" ]
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
pkgs = import nixpkgs { inherit system; };
|
||||||
|
|
||||||
testService = import ../../nixproc/test-driver/universal.nix {
|
testService = import ../../nixproc/test-driver/universal.nix {
|
||||||
inherit system;
|
inherit nixpkgs system;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue