]> git.proxmox.com Git - ceph.git/blame - ceph/src/pybind/mgr/CMakeLists.txt
import ceph quincy 17.2.1
[ceph.git] / ceph / src / pybind / mgr / CMakeLists.txt
CommitLineData
20effc67
TL
1set(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
9add_subdirectory(dashboard)
10
f67539c2
TL
11if(WITH_MGR_ROOK_CLIENT)
12 add_subdirectory(rook)
13endif()
9f95a23c
TL
14if(WITH_TESTS)
15 include(AddCephTest)
20effc67 16 add_tox_test(mgr ${CMAKE_CURRENT_SOURCE_DIR} TOX_ENVS py3 py37 mypy flake8 jinjalint nooptional)
9f95a23c 17endif()
11fdf7f2
TL
18
19# Location needs to match default setting for mgr_module_path, currently:
20effc67
TL
20# OPTION(mgr_module_path, OPT_STR, CEPH_INSTALL_DATADIR "/mgr")
21set(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 # rook (optional)
47 selftest
48 snap_schedule
49 stats
50 status
51 telegraf
52 telemetry
53 # tests (for testing purpose only)
54 test_orchestrator
55 volumes
56 zabbix)
57
58install(DIRECTORY ${mgr_modules}
59 DESTINATION ${CEPH_INSTALL_DATADIR}/mgr
60 ${mgr_module_install_excludes})
33c7a0ef 61install(FILES mgr_module.py mgr_util.py object_format.py
20effc67 62 DESTINATION ${CEPH_INSTALL_DATADIR}/mgr)