summaryrefslogtreecommitdiffstats
path: root/nixos/tests/cri-o.nix
blob: 703ea259f479ad0eb3677d147e8056868683a2b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ lib, ... }:
{
  name = "cri-o";
  meta.maintainers = lib.teams.podman.members;

  nodes.crio = {
    virtualisation.cri-o.enable = true;
  };

  testScript = ''
    start_all()
    crio.wait_for_unit("crio.service")
    crio.succeed(
        "critest --ginkgo.focus='Runtime info' --runtime-endpoint unix:///var/run/crio/crio.sock"
    )
  '';
}