Skip to content

Commit c6e2a74

Browse files
committed
ci: also exclude docker version 29
Docker version 28 broke container restore in combination with network namespaces. The workaround in the CI script was excluding Docker version 28. Now that there is also Docker version 29, which is still broken, this also excludes Docker version 29. Signed-off-by: Adrian Reber <areber@redhat.com>
1 parent 2cf8f13 commit c6e2a74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ci/docker-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
set -x -e -o pipefail
44

5-
# Workaround: Docker 28.x has a known regression that breaks the checkpoint and
5+
# Workaround: Docker 28.x and 29.x has a known regression that breaks the checkpoint and
66
# restore (C/R) feature. Let's install previous, or next major version. See
77
# https://github.com/moby/moby/issues/50750 for details on the bug.
88
export DEBIAN_FRONTEND=noninteractive
@@ -17,7 +17,7 @@ echo \
1717
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" > /etc/apt/sources.list.d/docker.list
1818
apt update -y
1919
apt-cache madison docker-ce | awk '{ print $3 }'
20-
verstr="$(apt-cache madison docker-ce | awk '{ print $3 }' | sort | grep -v ':28\.'| tail -n 1)"
20+
verstr="$(apt-cache madison docker-ce | awk '{ print $3 }' | sort | grep -Ev ':(28|29)\.'| tail -n 1)"
2121
../../contrib/apt-install -y "docker-ce=$verstr" "docker-ce-cli=$verstr"
2222

2323
# docker checkpoint and restore is an experimental feature

0 commit comments

Comments
 (0)