Skip to content

Commit

Permalink
Use podman everywhere instead of docker
Browse files Browse the repository at this point in the history
  • Loading branch information
kalikiana committed May 11, 2022
1 parent 3a2760d commit 2c858a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions tests/containers/setup_env.pm
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ sub run {
my ($self) = @_;

assert_script_run("mkdir -p /root/data/factory/{iso,hdd,other} /root/data/tests");
assert_script_run("docker network create testing");
assert_script_run("for i in {1..3}; do docker run --rm -d --network testing -e POSTGRES_PASSWORD=openqa -e POSTGRES_USER=openqa -e POSTGRES_DB=openqa --net-alias=db --name db postgres && break; done", timeout => 600);
wait_for_container_log("db", "database system is ready to accept connections", "docker");
assert_script_run("podman network create testing");
assert_script_run("for i in {1..3}; do podman run --rm -d --network testing -e POSTGRES_PASSWORD=openqa -e POSTGRES_USER=openqa -e POSTGRES_DB=openqa --network-alias=db --name db docker.io/library/postgres:latest && break; done", timeout => 600);
wait_for_container_log("db", "database system is ready to accept connections", "podman");
}

1;
2 changes: 1 addition & 1 deletion tests/install/openqa_webui.pm
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ EOF
}

sub install_containers {
assert_script_run("zypper --non-interactive install docker git", timeout => 600);
assert_script_run("zypper --non-interactive install docker git podman", timeout => 600);
assert_script_run("systemctl start docker");
}

Expand Down

0 comments on commit 2c858a1

Please sign in to comment.