summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2025-03-31 12:21:03 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2025-03-31 12:21:03 +0100
commit350a7f30d3f7ab3021ab0c47f272e1d3adca741c (patch)
tree26fdb4d4bf95a4a656c50b195a5eb6d326204e44 /jjb/functest
parentdeaa06131dd972fdb45dc310925f2680bd8f21bd (diff)
Well cleant all before starting the distrib containersHEADmaster
Change-Id: I3dd383f1c60484b203e583669c869f2119c4486f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/xtesting-ci.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/jjb/functest/xtesting-ci.yaml b/jjb/functest/xtesting-ci.yaml
index c8757c8f9..f043fa371 100644
--- a/jjb/functest/xtesting-ci.yaml
+++ b/jjb/functest/xtesting-ci.yaml
@@ -224,6 +224,14 @@
sudo rm -f /etc/systemd/system/docker.service.d/http-proxy.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
+ if [ $(lsb_release -r -s |cut -d\. -f1) -ge "22" ]; then
+ sudo DEBIAN_FRONTEND=noninteractive apt \
+ -o DPkg::Lock::Timeout=300 install podman -y
+ sudo podman ps -aq |xargs sudo podman stop || true
+ sudo podman ps -aq |xargs sudo podman rm || true
+ fi
+ sudo rm -rfv /data /tmp/xtesting*
+
- builder:
name: xtesting-ci-tests-debian-docker