mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 14:57:28 +03:00
1c551f9778
Signed-off-by: Sascha Grunert <sgrunert@suse.com>
20 lines
471 B
Nix
20 lines
471 B
Nix
# This test runs CRI-O and verifies via critest
|
|
import ./make-test-python.nix ({ pkgs, ... }: {
|
|
name = "cri-o";
|
|
maintainers = with pkgs.stdenv.lib.maintainers; 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"
|
|
)
|
|
'';
|
|
})
|