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 <santiago@redhat.com>
17 lines
416 B
YAML
17 lines
416 B
YAML
- hosts: localhost
|
|
tags:
|
|
- classic
|
|
roles:
|
|
- role: standard-test-basic
|
|
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
|