From f446c4bfb42703038bf078629e55847da8051377 Mon Sep 17 00:00:00 2001 From: Nir Soffer Date: Thu, 22 Jun 2023 20:01:50 +0300 Subject: [PATCH] Switch test yaml to docker driver The podman driver is flakeky locally and consistently failing in github actions now. Switching to docker fix the issues in github. Developers need to install docker to run drenv test locally. I tried to use the podman-docker pacakge but it does not emulate docker good enough for minikube. Signed-off-by: Nir Soffer --- test/README.md | 14 ++++---------- test/envs/test.yaml | 3 +-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/test/README.md b/test/README.md index 28b20b9103..c2b81bfa46 100644 --- a/test/README.md +++ b/test/README.md @@ -37,20 +37,14 @@ environment. [Install clusteradm CLI tool](https://open-cluster-management.io/getting-started/installation/start-the-control-plane/#install-clusteradm-cli-tool) for the details. Version 0.5.0 or later is required. -1. Install `podman` +1. Install `docker` ``` - sudo dnf install podman + sudo dnf install docker ``` - Allow yourself to run podman as root without a password by adding - this file as root: - - ``` - # cat /etc/sudoers.d/podman - # Allow passwordless podman - myusername ALL=(ALL) NOPASSWD: /usr/bin/podman - ``` + docker is used only for running drenv tests locally. You can use + podman for building and running containers locally. ### Testing that drenv is healthy diff --git a/test/envs/test.yaml b/test/envs/test.yaml index 95f1cabcbd..fad86038da 100644 --- a/test/envs/test.yaml +++ b/test/envs/test.yaml @@ -6,8 +6,7 @@ name: test profiles: - name: cluster - driver: podman - container_runtime: cri-o + driver: docker memory: 2g workers: - addons: