]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake,deb,rpm: exclude CI and test directories from installed modules 69618/head
authorKefu Chai <k.chai@proxmox.com>
Sun, 21 Jun 2026 08:14:49 +0000 (16:14 +0800)
committerKefu Chai <k.chai@proxmox.com>
Sun, 21 Jun 2026 12:45:10 +0000 (20:45 +0800)
commit9a7299c455b19bef1282a18d8fd3c6f8c8b2596f
tree39d942c1c6301e00d8e13ba6738d9036ceecee41
parentfb5c994f9220f69fa09aa1a4ec53dd746d6ba493
cmake,deb,rpm: exclude CI and test directories from installed modules

The mgr module install rule already excluded tests/*, but that glob only
dropped the files inside tests/ and left an empty tests/ directory in the
installed tree.  The ci/ directories, which hold Dockerfiles, e2e test
scripts, and cluster specs used only for upstream CI pipelines, were not
excluded at all and were shipped by ceph-mgr-dashboard and ceph-mgr-rook.

Change the install pattern from tests/* to tests so the whole directory
is pruned, and add a ci pattern.  Both patterns live in the exclude list
shared by every mgr module install rule (the module list, dashboard, and
rook), so this covers all of them in one place.

This supersedes the per-package excludes added in 8a2e0eb2fc and
d74b88500b, so drop them from ceph.spec.in and debian/rules.

Signed-off-by: Kefu Chai <k.chai@proxmox.com>
ceph.spec.in
debian/rules
src/pybind/mgr/CMakeLists.txt