Skip to content

Commit

Permalink
Merge "Add logics to cover podman deployments"
Browse files Browse the repository at this point in the history
  • Loading branch information
collivier authored and Gerrit Code Review committed Sep 30, 2023
2 parents 7d6e0d9 + 36b7f40 commit a21cb3d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions jjb/functest/xtesting-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
set +x
sudo apt-get -o DPkg::Lock::Timeout=300 update
sudo DEBIAN_FRONTEND=noninteractive apt-get \
-o DPkg::Lock::Timeout=300 install python3-pip docker.io -y
-o DPkg::Lock::Timeout=300 install python3-pip docker.io podman -y
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.17.0/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
Expand All @@ -17,6 +17,8 @@
sudo rm -f /etc/systemd/system/docker.service.d/http-proxy.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
sudo podman ps -aq |xargs sudo podman stop || true
sudo podman ps -aq |xargs sudo podman rm || true
sudo rm -rfv /data /tmp/xtesting*
sudo apt-get install ansible patch -y
rm -rf ~/.ansible/roles/collivier.xtesting
Expand All @@ -39,7 +41,7 @@
ssh [email protected] << EOF
sudo apt-get -o DPkg::Lock::Timeout=300 update
sudo DEBIAN_FRONTEND=noninteractive apt-get \
-o DPkg::Lock::Timeout=300 install python3-pip docker.io -y
-o DPkg::Lock::Timeout=300 install python3-pip docker.io podman -y
curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.17.0/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
Expand All @@ -50,6 +52,8 @@
sudo rm -f /etc/systemd/system/docker.service.d/http-proxy.conf
sudo systemctl daemon-reload
sudo systemctl restart docker
sudo podman ps -aq |xargs sudo podman stop || true
sudo podman ps -aq |xargs sudo podman rm || true
sudo rm -rfv /data /tmp/xtesting*
EOF
sudo apt-get install ansible patch -y
Expand Down Expand Up @@ -114,6 +118,7 @@
name: 'playbook'
playbook:
- all
- podman
- proxy
- proxy2
- radosgw
Expand Down

0 comments on commit a21cb3d

Please sign in to comment.