From: Redouane Kachach Date: Wed, 31 Jan 2024 09:48:35 +0000 (+0100) Subject: mgr/rook: adding deployment to ceph image built for rook e2e testing X-Git-Tag: v19.3.0~99^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F55393%2Fhead;p=ceph.git mgr/rook: adding deployment to ceph image built for rook e2e testing Fixes: https://tracker.ceph.com/issues/64266 Signed-off-by: Redouane Kachach --- diff --git a/src/pybind/mgr/rook/ci/Dockerfile b/src/pybind/mgr/rook/ci/Dockerfile index 30ebea5749c8..a338188195ae 100644 --- a/src/pybind/mgr/rook/ci/Dockerfile +++ b/src/pybind/mgr/rook/ci/Dockerfile @@ -1,3 +1,4 @@ FROM quay.io/ceph/daemon-base:latest-main COPY ./tmp_build/orchestrator /usr/share/ceph/mgr/orchestrator COPY ./tmp_build/rook /usr/share/ceph/mgr/rook +COPY ./tmp_build/ceph/ /usr/lib/python3.6/site-packages/ceph/ diff --git a/src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh b/src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh index dcd22fce9a75..24a6a5da23f4 100755 --- a/src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh +++ b/src/pybind/mgr/rook/ci/scripts/bootstrap-rook-cluster.sh @@ -44,6 +44,7 @@ build_ceph_image() { mkdir -p tmp_build/orchestrator cp ./../../orchestrator/*.py tmp_build/orchestrator cp ../*.py tmp_build/rook + cp -r ../../../../../src/python-common/ceph/ tmp_build/ # we use the following tag to trick the Docker # running inside minikube so it uses this image instead