From 045c776835d71acad920420c631d0fa2eb890cde Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Mon, 7 Feb 2022 13:30:31 -0700 Subject: [PATCH] Use podman in gating tests Nothing complicated, just a very simple 'run' command. Currently fails, which is good, it means this test would have caught today's crisis[1]. Unfortunately it fails with no useful info whatsoever: the test result simply shows ERROR. I'm not sure there's much I can do about this, since podman itself is silent on the failure. (It'd be nice if gating tests at least showed us the exit status). [1] https://github.com/containers/container-selinux/issues/169 Signed-off-by: Ed Santiago --- tests/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/tests.yml b/tests/tests.yml index a5b5b1f..552bdbb 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -6,8 +6,11 @@ required_packages: - policycoreutils - container-selinux + - podman tests: - is-module-installed: run: semodule --list=full | grep container - can-rebuild-policy: run: semodule -B + - can-run-podman: + run: podman run --rm quay.io/libpod/testimage:20210610 cat -v /proc/self/attr/current