ClickHouse/tests/ci/ci_config.py

326 lines
10 KiB
Python
Raw Normal View History

2021-11-12 11:12:42 +00:00
#!/usr/bin/env python3
CI_CONFIG = {
"build_config": {
"package_release": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"alien_pkgs": True,
"tidy": "disable",
"with_coverage": False
},
"performance": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "performance",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
"binary_gcc": {
2021-11-12 11:12:42 +00:00
"compiler": "gcc-11",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
"package_asan": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "address",
2021-11-12 12:13:13 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
"package_ubsan": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "undefined",
2021-11-12 12:13:13 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
"package_tsan": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "thread",
2021-11-12 12:13:13 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
"package_msan": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "memory",
2021-11-12 12:13:13 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
"package_debug": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "debug",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "deb",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
"binary_release": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
2021-11-30 12:45:18 +00:00
"binary_tidy": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "debug",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-30 12:45:18 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "enable",
"with_coverage": False
},
"binary_splitted": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "splitted",
"tidy": "disable",
"with_coverage": False
},
"binary_darwin": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13-darwin",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
"binary_aarch64": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13-aarch64",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
"binary_freebsd": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13-freebsd",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
"binary_darwin_aarch64": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13-darwin-aarch64",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
},
"binary_ppc64le": {
2021-11-12 11:12:42 +00:00
"compiler": "clang-13-ppc64le",
2021-11-12 12:13:13 +00:00
"build_type": "",
2021-11-12 11:12:42 +00:00
"sanitizer": "",
2021-11-12 12:13:13 +00:00
"package_type": "binary",
2021-11-12 11:12:42 +00:00
"bundled": "bundled",
"splitted": "unsplitted",
"tidy": "disable",
"with_coverage": False
}
},
2021-11-30 15:33:29 +00:00
"builds_report_config": {
"ClickHouse build check (actions)": [
"package_release",
"performance",
"package_asan",
"package_ubsan",
"package_tsan",
"package_msan",
"package_debug",
"binary_release"
],
"ClickHouse special build check (actions)": [
"binary_tidy",
"binary_splitted",
"binary_darwin",
2021-12-15 07:45:27 +00:00
"binary_aarch64",
2021-11-30 15:33:29 +00:00
"binary_freebsd",
2021-12-15 07:45:27 +00:00
"binary_darwin_aarch64",
"binary_ppc64le",
2021-11-30 15:33:29 +00:00
],
},
2021-11-12 11:12:42 +00:00
"tests_config": {
"Stateful tests (address, actions)": {
"required_build": "package_asan",
2021-11-12 11:12:42 +00:00
},
"Stateful tests (thread, actions)": {
"required_build": "package_tsan",
2021-11-12 11:12:42 +00:00
},
"Stateful tests (memory, actions)": {
"required_build": "package_msan",
2021-11-12 11:12:42 +00:00
},
"Stateful tests (ubsan, actions)": {
"required_build": "package_ubsan",
2021-11-12 11:12:42 +00:00
},
"Stateful tests (debug, actions)": {
"required_build": "package_debug",
2021-11-12 11:12:42 +00:00
},
"Stateful tests (release, actions)": {
"required_build": "package_release",
2021-11-12 11:12:42 +00:00
},
"Stateful tests (release, DatabaseOrdinary, actions)": {
"required_build": "package_release",
2021-11-12 11:12:42 +00:00
},
"Stateful tests (release, DatabaseReplicated, actions)": {
"required_build": "package_release",
2021-11-12 11:12:42 +00:00
},
"Stateless tests (address, actions)": {
"required_build": "package_asan",
2021-11-12 11:12:42 +00:00
},
"Stateless tests (thread, actions)": {
"required_build": "package_tsan",
2021-11-12 11:12:42 +00:00
},
"Stateless tests (memory, actions)": {
"required_build": "package_msan",
2021-11-12 11:12:42 +00:00
},
"Stateless tests (ubsan, actions)": {
"required_build": "package_ubsan",
2021-11-12 11:12:42 +00:00
},
"Stateless tests (debug, actions)": {
"required_build": "package_debug",
2021-11-12 11:12:42 +00:00
},
"Stateless tests (release, actions)": {
"required_build": "package_release",
2021-11-12 11:12:42 +00:00
},
"Stateless tests (release, wide parts enabled, actions)": {
"required_build": "package_release",
2021-11-12 11:12:42 +00:00
},
"Stateless tests (release, DatabaseOrdinary, actions)": {
"required_build": "package_release",
2021-11-12 11:12:42 +00:00
},
"Stateless tests (release, DatabaseReplicated, actions)": {
"required_build": "package_release",
2021-11-12 11:12:42 +00:00
},
"Stress test (address, actions)": {
"required_build": "package_asan",
2021-11-12 11:12:42 +00:00
},
"Stress test (thread, actions)": {
"required_build": "package_tsan",
2021-11-12 11:12:42 +00:00
},
"Stress test (undefined, actions)": {
"required_build": "package_ubsan",
2021-11-12 11:12:42 +00:00
},
"Stress test (memory, actions)": {
"required_build": "package_msan",
2021-11-12 11:12:42 +00:00
},
"Stress test (debug, actions)": {
"required_build": "package_debug",
2021-11-12 11:12:42 +00:00
},
"Integration tests (asan, actions)": {
"required_build": "package_asan",
2021-11-12 11:12:42 +00:00
},
"Integration tests (thread, actions)": {
"required_build": "package_tsan",
2021-11-12 11:12:42 +00:00
},
"Integration tests (release, actions)": {
"required_build": "package_release",
2021-11-12 11:12:42 +00:00
},
"Integration tests (memory, actions)": {
"required_build": "package_msan",
2021-11-12 11:12:42 +00:00
},
"Integration tests flaky check (asan, actions)": {
"required_build": "package_asan",
2021-11-12 11:12:42 +00:00
},
"Compatibility check (actions)": {
"required_build": "package_release",
2021-11-12 11:12:42 +00:00
},
"Split build smoke test (actions)": {
"required_build": "binary_splitted",
2021-11-12 11:12:42 +00:00
},
"Testflows check (actions)": {
"required_build": "package_release",
2021-11-12 11:12:42 +00:00
},
"Unit tests (release-gcc, actions)": {
"required_build": "binary_gcc",
2021-11-12 11:12:42 +00:00
},
"Unit tests (release-clang, actions)": {
2021-11-26 13:37:46 +00:00
"required_build": "binary_release",
2021-11-12 11:12:42 +00:00
},
"Unit tests (asan, actions)": {
"required_build": "package_asan",
2021-11-12 11:12:42 +00:00
},
"Unit tests (msan, actions)": {
"required_build": "package_msan",
2021-11-12 11:12:42 +00:00
},
"Unit tests (tsan, actions)": {
"required_build": "package_tsan",
2021-11-12 11:12:42 +00:00
},
"Unit tests (ubsan, actions)": {
"required_build": "package_ubsan",
2021-11-12 11:12:42 +00:00
},
"AST fuzzer (debug, actions)": {
"required_build": "package_debug",
2021-11-12 11:12:42 +00:00
},
"AST fuzzer (ASan, actions)": {
"required_build": "package_asan",
2021-11-12 11:12:42 +00:00
},
"AST fuzzer (MSan, actions)": {
"required_build": "package_msan",
2021-11-12 11:12:42 +00:00
},
"AST fuzzer (TSan, actions)": {
"required_build": "package_tsan",
2021-11-12 11:12:42 +00:00
},
"AST fuzzer (UBSan, actions)": {
"required_build": "package_ubsan",
2021-11-12 11:12:42 +00:00
},
"Release (actions)": {
"required_build": "package_release",
2021-11-12 11:12:42 +00:00
},
"Stateless tests flaky check (address, actions)": {
"required_build": "package_asan",
2021-11-12 11:12:42 +00:00
},
"ClickHouse Keeper Jepsen (actions)": {
"required_build": "binary_release",
2021-11-17 09:41:19 +00:00
},
"Performance Comparison (actions)": {
"required_build": "performance",
2021-11-12 11:12:42 +00:00
}
}
}