2020-07-19 18:26:50 +00:00
|
|
|
{ nixpkgs ? <nixpkgs>
|
|
|
|
, system ? builtins.currentSystem
|
2021-03-28 15:31:47 +00:00
|
|
|
, nix-processmgmt ? { outPath = ./.; rev = 1234; }
|
2020-07-19 18:26:50 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs {};
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
tools = import ./tools {
|
|
|
|
pkgs = import nixpkgs { inherit system; };
|
|
|
|
inherit system;
|
|
|
|
};
|
|
|
|
|
|
|
|
tests = {
|
2021-03-01 19:46:18 +00:00
|
|
|
builds = import ./tests/builds.nix {
|
2021-03-28 15:31:47 +00:00
|
|
|
inherit pkgs nix-processmgmt;
|
2021-03-01 19:46:18 +00:00
|
|
|
};
|
|
|
|
|
2021-04-22 19:15:11 +00:00
|
|
|
services = import ./tests/services {
|
2021-04-22 19:37:40 +00:00
|
|
|
inherit nixpkgs system;
|
2021-04-22 19:15:11 +00:00
|
|
|
};
|
|
|
|
|
2020-10-25 16:05:58 +00:00
|
|
|
multi-process-images = import ./tests/multi-process-images.nix {
|
|
|
|
inherit nixpkgs;
|
|
|
|
};
|
|
|
|
|
2020-07-19 18:26:50 +00:00
|
|
|
webapps-agnostic = {
|
|
|
|
config = import ./tests/webapps-agnostic-config.nix {
|
|
|
|
inherit nixpkgs;
|
|
|
|
};
|
|
|
|
|
|
|
|
disnix = import ./tests/webapps-agnostic-disnix.nix {
|
|
|
|
inherit nixpkgs;
|
|
|
|
};
|
|
|
|
|
|
|
|
docker = import ./tests/webapps-agnostic-docker.nix {
|
|
|
|
inherit nixpkgs;
|
|
|
|
};
|
|
|
|
|
2021-02-07 19:07:56 +00:00
|
|
|
s6-rc = import ./tests/webapps-agnostic-s6-rc.nix {
|
|
|
|
inherit nixpkgs;
|
|
|
|
};
|
|
|
|
|
2020-07-19 18:26:50 +00:00
|
|
|
supervisord = import ./tests/webapps-agnostic-supervisord.nix {
|
|
|
|
inherit nixpkgs;
|
|
|
|
};
|
|
|
|
|
|
|
|
supervisord-stateless = import ./tests/webapps-agnostic-supervisord-stateless.nix {
|
|
|
|
inherit nixpkgs;
|
|
|
|
};
|
|
|
|
|
|
|
|
systemd = import ./tests/webapps-agnostic-systemd.nix {
|
|
|
|
inherit nixpkgs;
|
|
|
|
};
|
|
|
|
|
|
|
|
systemd-user = import ./tests/webapps-agnostic-systemd-user.nix {
|
|
|
|
inherit nixpkgs;
|
|
|
|
};
|
|
|
|
|
|
|
|
sysvinit = import ./tests/webapps-agnostic-sysvinit.nix {
|
|
|
|
inherit nixpkgs;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
webapps-sysvinit = import ./tests/webapps-sysvinit.nix {
|
|
|
|
inherit nixpkgs;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
release = pkgs.releaseTools.aggregate {
|
|
|
|
name = "nix-processmgmt";
|
|
|
|
constituents = builtins.attrValues tools
|
2021-03-01 19:46:18 +00:00
|
|
|
++ builtins.attrValues tests.builds
|
2020-07-19 18:26:50 +00:00
|
|
|
++ builtins.attrValues tests.webapps-agnostic
|
2020-10-25 16:05:58 +00:00
|
|
|
++ [
|
|
|
|
tests.webapps-sysvinit
|
|
|
|
tests.multi-process-images
|
|
|
|
];
|
2020-07-19 18:26:50 +00:00
|
|
|
meta.description = "Release-critical builds";
|
|
|
|
};
|
|
|
|
}
|