Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add linux package test healthcheck #622

Merged
merged 11 commits into from
Aug 28, 2024
4 changes: 3 additions & 1 deletion scripts/package-tests/package-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,10 @@ crun = [
]
EOF

echo
podman run --name "$container_name" -d "$image_name"

# ensure that the system is up and running by checking if systemctl is running
$container_exec systemctl is-system-running --quiet --wait
install_pkg "$container_name" "$PKG_PATH"

# ensure service has started and still running after 5 seconds
Expand Down
Loading