]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: exclude CI and test directories from mgr plugin packages 69579/head
authorKefu Chai <k.chai@proxmox.com>
Thu, 18 Jun 2026 14:06:43 +0000 (22:06 +0800)
committerKefu Chai <k.chai@proxmox.com>
Thu, 18 Jun 2026 14:15:31 +0000 (22:15 +0800)
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 <k.chai@proxmox.com>
ceph.spec.in

index b0fba106c2ce0ab0facc98a7ddaa78d7d0aafc0a..186cacb9a86807b66f2469792204b1d7ffba1108 100644 (file)
@@ -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