mirror of
https://github.com/ceph/ceph
synced 2026-08-02 07:03:18 +00:00
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 <k.chai@proxmox.com>
This commit is contained in:
parent
d74b88500b
commit
8a2e0eb2fc
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user