2020-08-23 16:08:10 +02:00
|
|
|
# This test runs CRI-O and verifies via critest
|
|
|
|
import ./make-test-python.nix ({ pkgs, ... }: {
|
|
|
|
name = "cri-o";
|
2021-01-10 20:08:30 +01:00
|
|
|
maintainers = with pkgs.lib.maintainers; teams.podman.members;
|
2020-08-23 16:08:10 +02:00
|
|
|
|
|
|
|
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"
|
|
|
|
)
|
|
|
|
'';
|
|
|
|
})
|