From: Kefu Chai Date: Thu, 18 Jun 2026 14:06:43 +0000 (+0800) Subject: ceph.spec.in: exclude CI and test directories from mgr plugin packages X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8a2e0eb2fcd12abf4917c74dcd39f6e7f25e5e75;p=ceph.git ceph.spec.in: exclude CI and test directories from mgr plugin packages The ceph-mgr-dashboard and ceph-mgr-rook packages install their entire mgr module directory, which includes a ci/ subdirectory containing Dockerfiles, e2e test scripts, and cluster specs used only for upstream CI pipelines. ceph-mgr-cephadm similarly ships a tests/ directory with Python unit tests. These files have no runtime purpose on a deployed system and should not be shipped in the binary packages. Exclude mgr/cephadm/tests, mgr/dashboard/ci, and mgr/rook/ci via %exclude directives. Signed-off-by: Kefu Chai --- diff --git a/ceph.spec.in b/ceph.spec.in index b0fba106c2c..186cacb9a86 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -2345,6 +2345,7 @@ fi %files mgr-dashboard %{_datadir}/ceph/mgr/dashboard +%exclude %{_datadir}/ceph/mgr/dashboard/ci %ceph_mgr_module_scripts mgr-dashboard @@ -2465,6 +2466,7 @@ fi %files mgr-rook %{_datadir}/ceph/mgr/rook +%exclude %{_datadir}/ceph/mgr/rook/ci %ceph_mgr_module_scripts mgr-rook @@ -2475,6 +2477,7 @@ fi %files mgr-cephadm %{_datadir}/ceph/mgr/cephadm +%exclude %{_datadir}/ceph/mgr/cephadm/tests %ceph_mgr_module_scripts mgr-cephadm