]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/CMakeLists.txt
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / pybind / mgr / CMakeLists.txt
1 set(mgr_module_install_excludes
2 PATTERN "CMakeLists.txt" EXCLUDE
3 PATTERN ".gitignore" EXCLUDE
4 PATTERN "tox.ini" EXCLUDE
5 PATTERN "requirements*.txt" EXCLUDE
6 PATTERN "constraints*.txt" EXCLUDE
7 PATTERN "tests/*" EXCLUDE)
8
9 add_subdirectory(dashboard)
10
11 if(WITH_MGR_ROOK_CLIENT)
12 add_subdirectory(rook)
13 endif()
14 if(WITH_TESTS)
15 include(AddCephTest)
16 add_tox_test(mgr ${CMAKE_CURRENT_SOURCE_DIR} TOX_ENVS py3 py37 mypy flake8 jinjalint nooptional)
17 endif()
18
19 # Location needs to match default setting for mgr_module_path, currently:
20 # OPTION(mgr_module_path, OPT_STR, CEPH_INSTALL_DATADIR "/mgr")
21 set(mgr_modules
22 alerts
23 balancer
24 cephadm
25 crash
26 # dashboard (optional)
27 devicehealth
28 diskprediction_local
29 # hello is an example for developers, not for user
30 influx
31 insights
32 iostat
33 k8sevents
34 localpool
35 mds_autoscaler
36 mirroring
37 nfs
38 orchestrator
39 osd_perf_query
40 osd_support
41 pg_autoscaler
42 progress
43 prometheus
44 rbd_support
45 restful
46 rgw
47 # rook (optional)
48 selftest
49 snap_schedule
50 stats
51 status
52 telegraf
53 telemetry
54 # tests (for testing purpose only)
55 test_orchestrator
56 volumes
57 zabbix)
58
59 install(DIRECTORY ${mgr_modules}
60 DESTINATION ${CEPH_INSTALL_DATADIR}/mgr
61 ${mgr_module_install_excludes})
62 install(FILES mgr_module.py mgr_util.py object_format.py
63 DESTINATION ${CEPH_INSTALL_DATADIR}/mgr)