Skip to content

Commit faaa627

Browse files
author
MarcoFalke
committed
ci: Use podman stop over podman kill
This should avoid a race where the kill is not done when spinning up the new container. podman stop waits 10 seconds by default.
1 parent a36134f commit faaa627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/test/04_install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if [ -z "$DANGER_RUN_CI_ON_HOST" ]; then
4242

4343
if [ -n "${RESTART_CI_DOCKER_BEFORE_RUN}" ] ; then
4444
echo "Restart docker before run to stop and clear all containers started with --rm"
45-
podman container kill --all # Similar to "systemctl restart docker"
45+
podman container stop --all # Similar to "systemctl restart docker"
4646
echo "Prune all dangling images"
4747
docker image prune --force
4848
fi

0 commit comments

Comments
 (0)