mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
podman: also run the upstream integration test suite
Per https://github.com/containers/podman/pull/19302 and https://github.com/containers/podman/issues/19299 , upstream have kindly set things up so we can easily run relevant parts of the upstream test suite as an integration test in openQA. This should help us catch if changes in other components break key features of podman. This only works with podman 4.6.1 or higher. 4.6.1 is already stable for F39 and Rawhide; I will mark the F37 and F38 updates as workarounds in the scheduler until they're stable. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
511b5382ec
commit
4b9b3cc73a
@ -13,6 +13,12 @@ sub run {
|
|||||||
assert_script_run "dnf -y install podman", 240 unless (get_var("CANNED"));
|
assert_script_run "dnf -y install podman", 240 unless (get_var("CANNED"));
|
||||||
# check podman is installed
|
# check podman is installed
|
||||||
assert_script_run "rpm -q podman";
|
assert_script_run "rpm -q podman";
|
||||||
|
my $relnum = get_release_number;
|
||||||
|
unless (get_var("CANNED")) {
|
||||||
|
# run the upstream integration tests
|
||||||
|
assert_script_run "dnf -y install podman podman-tests bats", 300;
|
||||||
|
assert_script_run "bats --filter-tags distro-integration /usr/share/podman/test/system", 300;
|
||||||
|
}
|
||||||
# check to see if you can pull an image from the registry
|
# check to see if you can pull an image from the registry
|
||||||
assert_script_run "podman pull registry.fedoraproject.org/fedora:latest", 300;
|
assert_script_run "podman pull registry.fedoraproject.org/fedora:latest", 300;
|
||||||
# run hello-world to test
|
# run hello-world to test
|
||||||
|
Loading…
Reference in New Issue
Block a user