mirror of
https://github.com/hercules-ci/arion.git
synced 2024-11-23 00:32:12 +03:00
4ea9760991
It is either flaky or caused by an update in NixOS/Nixpkgs. Probably not the podman update though, because I've specifically tested it with that pr at the time.
37 lines
1019 B
Nix
37 lines
1019 B
Nix
{
|
|
perSystem = { pkgs, final, ... }:
|
|
let
|
|
inherit (final) nixosTest arion lib;
|
|
in
|
|
{
|
|
checks = lib.optionalAttrs pkgs.stdenv.isLinux {
|
|
test = nixosTest ./arion-test;
|
|
|
|
nixosModuleWithDocker =
|
|
import ./nixos-virtualization-arion-test/test.nix final {
|
|
virtualisation.arion.backend = "docker";
|
|
};
|
|
|
|
# Currently broken; kafka can't reach zookeeper
|
|
# nixosModuleWithPodman =
|
|
# import ./nixos-virtualization-arion-test/test.nix final {
|
|
# virtualisation.arion.backend = "podman-socket";
|
|
# };
|
|
|
|
testWithPodman =
|
|
nixosTest (import ./arion-test { usePodman = true; pkgs = final; });
|
|
|
|
testBuild = arion.build {
|
|
|
|
# To be more accurate, we could do
|
|
# pkgs = import ../examples/minimal/arion-pkgs.nix;
|
|
# But let's avoid re-evaluating Nixpkgs
|
|
pkgs = final;
|
|
|
|
modules = [ ../examples/minimal/arion-compose.nix ];
|
|
};
|
|
|
|
};
|
|
};
|
|
}
|