From 2932a69a11bbb4973a30b5b8c8f1218e9c210f7b Mon Sep 17 00:00:00 2001 From: Oded Viner <61982127+OdedViner@users.noreply.github.com> Date: Wed, 28 Feb 2024 14:56:17 +0200 Subject: [PATCH] Create a new image for Fedora with FIO (#9364) * Create a new image to Fedora image with FIO Signed-off-by: oviner --- ocs_ci/helpers/helpers.py | 2 +- ocs_ci/templates/app-pods/fedora_dc.yaml | 2 +- .../functional/workloads/ocp/registry/test_pod_from_registry.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ocs_ci/helpers/helpers.py b/ocs_ci/helpers/helpers.py index 1f0c3bf5447..e0d7b3bd142 100644 --- a/ocs_ci/helpers/helpers.py +++ b/ocs_ci/helpers/helpers.py @@ -1364,7 +1364,7 @@ def create_build_from_docker_image( install_package, namespace, source_image="quay.io/ocsci/fedora", - source_image_label="latest", + source_image_label="fio", ): """ Allows to create a build config using a Dockerfile specified as an diff --git a/ocs_ci/templates/app-pods/fedora_dc.yaml b/ocs_ci/templates/app-pods/fedora_dc.yaml index 33ccfe48110..f68e2072dae 100644 --- a/ocs_ci/templates/app-pods/fedora_dc.yaml +++ b/ocs_ci/templates/app-pods/fedora_dc.yaml @@ -20,7 +20,7 @@ spec: claimName: tet-2 containers: - name: fedora - image: quay.io/ocsci/fedora + image: quay.io/ocsci/fedora:fio resources: limits: memory: "2048Mi" diff --git a/tests/functional/workloads/ocp/registry/test_pod_from_registry.py b/tests/functional/workloads/ocp/registry/test_pod_from_registry.py index 04be3c77310..be371c2f637 100644 --- a/tests/functional/workloads/ocp/registry/test_pod_from_registry.py +++ b/tests/functional/workloads/ocp/registry/test_pod_from_registry.py @@ -26,7 +26,7 @@ def test_run_pod_local_image(self, pvc_factory, pod_factory): pvc_obj = pvc_factory(size=self.pvc_size) image_obj = helpers.create_build_from_docker_image( namespace=pvc_obj.namespace, - source_image_label="latest", + source_image_label="fio", image_name="fio", install_package="fio", )