Commit Graph

468 Commits

Author SHA1 Message Date
proller
01a31414eb
Build fixes (#2474) 2018-06-06 21:41:39 +03:00
proller
4d12a823da Use copy-headers from cmake. (working compiler test without package install) (#2456)
* Try use copy-headers from cmake [WIP]

* Using internal compiler without install

* 32bit Compile fix

* Fixes

* fix

* clean

* fix

* clean
2018-06-04 23:26:17 +03:00
robot-metrika-test
a6693cffc0 Auto version update to [54386] 2018-06-01 23:16:46 +03:00
proller
ead9493741 Build fixes 2018-05-29 20:54:48 +03:00
proller
221c833cfc Temporary use copy-headers from debian package 2018-05-29 18:13:30 +03:00
proller
895b8e6515
Fix test 00505_secure with random ports (#2433) 2018-05-28 23:38:46 +03:00
Vitaliy Lyudvichenko
aa40931824 Merge remote-tracking branch 'origin/master' into CLICKHOUSE-2910 2018-05-28 20:22:27 +03:00
proller
ce219a3d9e Fix pbuilder server run 2018-05-28 15:03:03 +03:00
proller
ab3ab7f52d clickhouse-test-server: use random ports (#2425)
* Fix internal compiler includes with new clang

* debug copy_headers.sh

* Fix copy_headers.sh

* Use copy-headers from cmake

* Update rules

* pbuildeR: use random ports for testing

* critical fix

* clickhouse-test-server: use random ports

* fix

* fix
2018-05-25 23:52:20 +03:00
alexey-milovidov
e8814ab066
Merge pull request #2421 from Felixoid/systemd_fix
Add chown for config dir into systemd.service
2018-05-25 21:09:28 +03:00
proller
f1fdea74be pbuilder: use random ports for testing (#2424)
* Fix internal compiler includes with new clang

* debug copy_headers.sh

* Fix copy_headers.sh

* Use copy-headers from cmake

* Update rules

* pbuildeR: use random ports for testing

* critical fix
2018-05-25 21:05:30 +03:00
Mikhail f. Shiryaev
8f279c9eb0 Add chown for config dir into systemd.service 2018-05-25 15:55:18 +02:00
proller
5665709bb9 Use copy-headers from cmake (#2412)
* Fix internal compiler includes with new clang

* debug copy_headers.sh

* Fix copy_headers.sh

* Use copy-headers from cmake

* Update rules
2018-05-25 01:20:37 +03:00
proller
87e8d8be5a
Fix internal compiler includes with new clang (#2406) 2018-05-24 15:40:02 +03:00
proller
22d6afd2ad Debian postinst fix
Tests: use /usr/local if exists
2018-05-18 21:26:44 +03:00
Vitaliy Lyudvichenko
bd4d8a6766 Add profile events and settings logging. [#CLICKHOUSE-2910] 2018-05-17 19:01:41 +03:00
Alexey Milovidov
fb91bba279 Miscellaneous [#CLICKHOUSE-2] 2018-05-16 03:34:56 +03:00
proller
2a6d037eab
Build fixes (#2360) 2018-05-14 20:28:26 +03:00
proller
efe661b620 Build fixes (#2347)
* Try fix travis

* fix

* Fix clickhouse-local shared-split link

* fix

* fix

* fix

* Build fixes

* Fix tinfo

* fix

* tinfo -> termcap
2018-05-11 17:16:16 +03:00
proller
76468d8d89 Change build system DIST from artful to bionic (#2330)
* Pbuilder: use ubuntu-ports mirror (with arm64 packages)

* Fix arm64

* Fixed tests isolation. [#CLICKHOUSE-2]

* Fix nodes leak in case of session expiration. [#CLICKHOUSE-2]

* fix

* Add new clang versions

* ubuntu bionic && gcc-8 fixes

* Fixes

* wip

* Change build system DIST from artful to bionic
2018-05-09 07:50:54 +03:00
proller
eb772b8001 gcc8 fixes (memset, uncaught_exception) 2018-05-08 22:44:54 +03:00
robot-metrika-test
10f68290ee Auto version update to [54382] 2018-05-08 14:40:41 +03:00
proller
349009a0d3 Build fixes (#2324)
* Build fixes

* Fixes

* remove libzookeeper-mt-dev

* fix

* fix

* wrong

* try fix

* fix

* Update CMakeLists.txt

* Fixes

* Update boost to 1.67.0

* Fix ninja

* fix
2018-05-07 23:31:50 +03:00
proller
398097d24a Build fixes (#2323)
* Build fixes

* Fixes

* remove libzookeeper-mt-dev

* fix

* fix

* wrong

* try fix

* fix

* Update CMakeLists.txt
2018-05-07 18:59:52 +03:00
Alexey Milovidov
5cacc00eda Removed useless library [#CLICKHOUSE-2] 2018-05-07 13:43:15 +03:00
proller
634ba89f90 Build fixes 2018-05-05 15:34:17 +03:00
proller
899c65af63 Build fixes (#2275)
* Change obsolete comment

* Simpler disable logging to file in conf.d (<log/> <errorlog/>)

* Arm64 packag fixes

* Build fixes
2018-04-24 22:59:48 -07:00
proller
bd23b8790c Debian packages: better deprecated message, docker: do not use old package 2018-04-20 22:48:31 +03:00
robot-metrika-test
c6e29f0cbb Auto version update to [54380] 2018-04-20 22:47:21 +03:00
robot-metrika-test
8bbb295bbc Auto version update to [54379] 2018-04-20 22:15:52 +03:00
proller
1bf49fe844 Docker fixes 2018-04-18 00:03:33 +03:00
Alexey Milovidov
c9c09a9d13 Fixed Travis [#CLICKHOUSE-2] 2018-04-17 00:13:17 +03:00
Alexey Milovidov
5d2d44817e Allow to run postinst script manually on CentOS [#CLICKHOUSE-3707] 2018-04-17 00:03:35 +03:00
robot-metrika-test
bf5763e525 Auto version update to [54378] 2018-04-13 15:44:34 +03:00
robot-metrika-test
fe6feb3a69 Auto version update to [54377] 2018-04-11 17:23:50 +03:00
proller
2ae1c99441
Debian: Try fix compatible dependencies (#2209) 2018-04-11 07:22:41 -07:00
robot-metrika-test
50c2252c31 Auto version update to [54376] 2018-04-10 21:29:22 +03:00
proller
0c2ba39978
Debian: Try make compatible package depends (#2194)
* Fix split shared build

* Fix build without system odbc libs

* Move dbms/src/Common/iostream_debug_helpers.h -> libs/libcommon/include/common/iostream_debug_helpers.h

* Fix build with libiodbc

* Fix clickhouse-server.postinst

* Debian: Try make compatible package depends

* Try fix fail on travis tests fail

* Try fix package

* Fix ssl test

* fix

* fix

* wip

* try fix

* clean

* fix
2018-04-10 11:25:08 -07:00
robot-metrika-test
984d7044ac Auto version update to [54375] 2018-04-06 23:52:52 +03:00
proller
f1f1f09500
Debian: temporary keep packages with old names (#2186)
* cmake fixes

* Fix test server config

* Debian: temporary keep packages with old names

* fix

* fix

* Debian postinst: adjustable user
2018-04-06 13:49:42 -07:00
robot-metrika-test
feaae7d439 Auto version update to [54374] 2018-04-05 21:26:55 +03:00
robot-metrika-test
848d9ecf68 Auto version update to [54373] 2018-04-04 00:45:08 +03:00
robot-metrika-test
40e454b1b6 Auto version update to [54372] 2018-04-02 22:13:54 +03:00
proller
6e03373b8d clickhouse-common-dbg -> clickhouse-common-static-dbg (#2157) 2018-04-02 21:44:19 +03:00
proller
802cac725f Debian: Rename packages (#678)
* Debian: rename packages

* wip

* wip

* wip

* move limits.d/clickhouse.conf to common

* wip

* fix

* bad clang

* update changelog

* more Provides: Conflicts:

* clickhouse-zookeeper-cli [#CLICKHOUSE-2947]

* fix utils desc

* Fix docs

* use cmake links

* fix doc

* Fix test install

* Test me

* Test me

* Test me.

* Dont use pre-depends

* fix

* Minimize control changes

* del

* debian/clickhouse-common.install -> debian/clickhouse-common-static.install

* debian/clickhouse-common.install -> debian/clickhouse-common-static.install
2018-04-01 15:33:39 +03:00
proller
62b27b539a Debian make: Do not use ninja if not installed 2018-03-29 15:58:22 +03:00
proller
a6f9df105c Allow use encryption for distributed tables (#2065)
* Allow use encryption for distributed tables

* wip

* fix

* rename encryption to secure

* Fix DirectoryMonitor with +secure

* fix

* fix

* Update DirectoryMonitor.cpp

* Update DirectoryMonitor.cpp
2018-03-29 04:41:06 +03:00
proller
0d70314ead
Fix package make with ninja (#2129)
* Fix package make with ninja
2018-03-28 05:17:23 -07:00
alexey-milovidov
0f9501b21f Update clickhouse-server-base.postinst 2018-03-28 05:38:27 +03:00
proller
c0aa85436c METRIQA-2349 centos package: fix adduser: unrecognized option '--disabled-login' 2018-03-28 05:38:27 +03:00
proller
5877498c4a Add clickhouse-report script to server package (#2123)
* Add clickhouse-report script to server package

* fix

* fix

* fix

* Revert "fix"

This reverts commit ef3ded0920.
2018-03-28 05:32:54 +03:00
proller
9744ddf70f Use ninja for package build 2018-03-27 21:36:50 +03:00
proller
caf83a650e libs: compiling with msvc2017 (#1996)
* Allow use bundled *ssl library

* fix

* Add submodule

* Fixes

* fix

* fixes

* fixes

* fix

* fix

* update poco

* fix warnings

* fix

* fix

* Build fixes

* Build fixes

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* add bat

* no zookeeper in dbms

* update boost

* fixes

* fixes

* fix

* fix

* fix

* fix

* try fix

* try fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Better

* fix

* dh verbose

* fix

* dh verbose

* fix

* clean

* Update LocalDate.h

* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
robot-metrika-test
6249245018 Auto version update to [54371] 2018-03-23 01:11:43 +03:00
proller
f6f505ea33
better test in pbuilder (#2080)
* better test in pbuilder
2018-03-20 20:24:39 +03:00
proller
bbb12e89f0 Better listen_try, pbuilder fix (#2068)
* rename libboost/boost_1_65_0 -> contrib/boost ; make submodule ; update boost to 1.66.0

* Update contrib/boost

* Update contrib/boost

* Add comments

* Fix

* Pbuilder fix

* Better listen_try

* Much better listen_try

* Revert "remove ipv6 listen_host from docker_related_config to allow running in ipv4-only dockers"

This reverts commit 3cfa4c3e65.

* Fix freebsd and macos build
2018-03-18 12:02:29 +03:00
robot-metrika-test
86e4099cc2 Auto version update to [54370] 2018-03-16 12:01:50 +03:00
robot-metrika-test
9126692441 Auto version update to [54369] 2018-03-16 10:31:37 +03:00
robot-metrika-test
2e23b43ed3 Auto version update to [54368] 2018-03-16 09:35:34 +03:00
robot-metrika-test
7633c0bf2b Auto version update to [54367] 2018-03-16 07:51:36 +03:00
Alexey Milovidov
50ae82d9fb Removing --ssl from test under pbuilder, because nothing works #2051 2018-03-16 07:47:00 +03:00
robot-metrika-test
cc19e40fa0 Auto version update to [54366] 2018-03-16 00:07:09 +03:00
proller
56947de18a
Try fix ssl (#2051)
* Revert "Reverted bad modification #2035"

This reverts commit 6d6eca5e23.

* spaces

* fix

* better

* Revert "Disabled ill-formed test #2035"

This reverts commit b28cef9871.

* debug

* fix

* fix

* fix

* fix

* fix

* fix

* clean

* Tests compile fix

* fix

* Try fix ssl

* version

* Test fixes, ./release now uses pbuilder by default

* fix
2018-03-15 02:04:35 +03:00
proller
d056d7e516
Fix ssl tests (#2042)
* Revert "Reverted bad modification #2035"

This reverts commit 6d6eca5e23.

* spaces

* fix

* better

* Revert "Disabled ill-formed test #2035"

This reverts commit b28cef9871.

* debug

* fix

* fix

* fix

* fix

* fix

* fix

* clean

* Tests compile fix
2018-03-14 19:57:15 +03:00
robot-metrika-test
a2560045b3 Auto version update to [54365] 2018-03-14 16:50:31 +03:00
robot-metrika-test
905652d0ba Auto version update to [54364] 2018-03-14 10:03:38 +03:00
Alexey Milovidov
6d6eca5e23 Reverted bad modification #2035 2018-03-14 08:29:05 +03:00
proller
4084579435 Use openssl 2018-03-14 00:27:38 +03:00
proller
9f22e46774 Add openssl to debian test 2018-03-13 22:51:12 +03:00
robot-metrika-test
eb03e63ab2 Auto version update to [54363] 2018-03-13 21:18:53 +03:00
robot-metrika-test
48d90ed960 Auto version update to [54362] 2018-03-10 23:15:15 +03:00
robot-metrika-test
c63b09eeb0 Auto version update to [54361] 2018-03-10 02:53:58 +03:00
robot-metrika-test
fe1b965a09 Auto version update to [54360] 2018-03-10 02:39:41 +03:00
robot-metrika-test
0eeabc5feb Auto version update to [54359] 2018-03-09 15:58:11 +03:00
robot-metrika-test
65da2ee15b Auto version update to [54358] 2018-03-08 00:36:22 +03:00
proller
d73fea5ab0
Fix macos compile (#2006)
* Fix macos compile

* rename cluster-copier -> copier
2018-03-07 21:17:17 +03:00
proller
65722918e7 Add clickhouse-cluster-copier to debian package 2018-03-07 20:47:58 +03:00
proller
ce9647274a CLICKHOUSE-3586 debian/compat : use version 8 to support old gdb version less 7.9.1 (old gdb have no support of compressed symbols) 2018-03-06 23:04:54 +03:00
robot-metrika-test
753c3d098e Auto version update to [54357] 2018-03-06 19:20:07 +03:00
robot-metrika-test
6282c8e490 Auto version update to [54356] 2018-03-06 00:07:31 +03:00
proller
6d9ba52493 Debian init and cron fixes 2018-03-01 23:16:03 +03:00
robot-metrika-test
6f5bf11647 Auto version update to [54355] 2018-02-21 10:35:08 +03:00
alexey-milovidov
ec06895d11
Merge pull request #1916 from HumanUser/master
Prevent cron stdout
2018-02-16 21:14:05 +03:00
alexey-milovidov
cbf5aa3d66
Update clickhouse-server.cron.d 2018-02-16 21:13:45 +03:00
robot-metrika-test
63c826788f Auto version update to [54354] 2018-02-16 20:44:58 +03:00
Ilya
dcef6c0eb3
Prevent cron stdout
This is bad idea to print something to stdout in cron jobs, because this messages can be sended via email
2018-02-16 18:43:21 +03:00
robot-metrika-test
2f59713143 Auto version update to [54353] 2018-02-15 19:27:50 +03:00
robot-metrika-test
d7511761cf Auto version update to [54352] 2018-02-14 21:24:50 +03:00
proller
38fd75f305
Travis: Try fix ccache (#1900)
* Travis: Try fix ccache
2018-02-13 22:39:21 +03:00
proller
971df7b853 Try fix travis. Use less travis tests (#1897)
* Try fix travis. Use less travis tests

* Disable capnp heavy test

* Travis: add gcc in pbuilder

* Fix

* fix
2018-02-13 21:00:06 +03:00
robot-metrika-test
f30ab52834 Auto version update to [54351] 2018-02-13 16:17:02 +03:00
proller
9ec8a576cf Docker: use ubuntu artful 17.10 for building (#1887)
* Docker wip

* no tests

* fixes

* No tests

* Fixes

* Clean
2018-02-12 18:42:27 +03:00
proller
3ffd8c9766 Debian: fix clickhouse-server-base.prerm 2018-02-09 19:01:38 +03:00
proller
a810abf7cd Try fix travis i386 2018-02-09 18:46:30 +03:00
proller
e15b7384a9 Pbuilder: Dont run tests by default 2018-02-08 21:40:24 +03:00
robot-metrika-test
3bb75a9b6e Auto version update to [54350] 2018-02-08 19:59:51 +03:00
proller
41ad692cef
Pbuilder ccache fixes (#1878)
* Pbuilder ccache fixes
2018-02-08 19:41:30 +03:00
proller
b3c60b4a2e Travis for i386 arch (#1873)
* Update internal compiler clang6.0 to rc1

* Build fixes (ubuntu bionic + clang6.0)

* Debian: Fix package install (old version can't do service clickhouse disable_cron)

* Allow use clang-7 as internal compiler: -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_COMPILER=clang-7 -DLLVM_VERSION_POSTFIX=-7

* fix

* Travis: dont run tests with gcc7 (too long, does not fit to limit)

* Travis: add clang6 + ubuntu bionic

* fix travis

* todo

* Dont test symbols with gdb

* More tests

* better messag

* add note

* Travis i386

* No test

* Fix

* Fix

* pbuilder: fix ccache
2018-02-08 17:38:36 +03:00
robot-metrika-test
cbda6c2b21 Auto version update to [54349] 2018-02-08 14:37:41 +03:00
proller
d816c41992 pbuilder: ccache: fix possible chown fail 2018-02-07 23:48:15 +03:00
robot-metrika-test
df6ed74388 Auto version update to [54348] 2018-02-07 20:18:35 +03:00
proller
15e77ec688 Build and test fixes:
Dont test symbols with gdb
    Travis: add clang6 + ubuntu bionic (disabled)
    Travis: dont run tests with gcc7 (too long, does not fit to limit)
    Allow use clang-7 as internal compiler: -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_COMPILER=clang-7 -DLLVM_VERSION_POSTFIX=-7
    Debian: Fix package install (old version can't do service clickhouse disable_cron)
    Build fixes (ubuntu bionic + clang6.0)
    Update internal compiler clang6.0 to rc1
2018-02-07 18:58:48 +03:00
robot-metrika-test
124822e250 Auto version update to [54347] 2018-02-07 18:27:54 +03:00
robot-metrika-test
2e1d90915d Auto version update to [54346] 2018-02-07 17:54:16 +03:00
robot-metrika-test
20af4d45a9 Auto version update to [54345] 2018-02-07 00:00:52 +03:00
robot-metrika-test
3c607171d2 Auto version update to [54344] 2018-02-02 21:25:45 +03:00
proller
d03173f8e1
Debian uninstall: Return cron file to original state (#1838)
* Debian uninstall: Return cron file to original state
2018-02-01 20:55:08 +03:00
proller
63b3bccb04 Test and build fixes (#1822)
* Fix travis

* try

* try

* Disable macos

* Travis enable macos

* Fix

* fast_finish: true

* fix

*  fxi

* fix openssl

* fix

* fix

* Fix

* try travis

* fix

* fix

* Cmake: dont filter platform-depended files in cmake

* misc

* renamed:    tests/server_wrapper.sh -> tests/clickhouse-test-serve

* install clickhouse-test-server

* clickhouse-test-server wip

* wip
2018-01-26 12:03:38 +03:00
robot-metrika-test
76629e99ae Auto version update to [54343] 2018-01-24 03:11:30 +03:00
robot-metrika-test
220ae501fb Auto version update to [54342] 2018-01-22 20:51:44 +03:00
proller
ee8272561a
More builder fixes (#1801)
* fix boost

* Fix gtest

* fix gtest

* fix

* fix gtest

* fix
2018-01-20 05:35:16 +03:00
proller
a2c3eae315 Builder fixes. Fix unbundled cctz 2018-01-20 00:33:48 +03:00
robot-metrika-test
e77e8a838f Auto version update to [54341] 2018-01-19 23:07:33 +03:00
proller
826a7bf6b5 Debian: No chmod 2018-01-19 22:18:08 +03:00
proller
91ca67d987 Fix logger, return systemd service (#1798)
* Fix test 281 under asan

* Cmake fixes

* Revert "Disable usage of systemd (assumed that temporarily) [#CLICKHOUSE-2]"

This reverts commit f0aa21bca6.

* Fixing init scripts and logging

* Fix logger

* Fxi

* fix

* fix

* fix

* Update clickhouse-server-base.postinst

* Update clickhouse-server.cron.d

* Update clickhouse-server-base.postinst

* Update clickhouse-server-base.postinst

* fix

* fix

* space

* better message
2018-01-19 21:54:40 +03:00
proller
3795adcd3f Fix travis 2018-01-19 20:23:07 +03:00
proller
76cf0ba5d0 Better tests (#1785)
* Make separate libs Common/ZooKeeper and Common/ConfigProcessor
renamed:    dbms/src/Common/StringUtils.h -> dbms/src/Common/StringUtils/StringUtils.h

* Fix space

* Fix data in system.build_options

* merge

* merge

* Travis optimize

* optimize

* Fix clickhouse-test --no-long

* no long

* Split too long test

* Better tests

* missing file

* Fix includes

* Added draft [#CLICKHOUSE-2].

* fix

* fix

* fix

* Fix test 281 under asan
2018-01-18 23:33:16 +03:00
robot-metrika-test
d1acf9d772 Auto version update to [54340] 2018-01-18 22:54:15 +03:00
robot-metrika-test
316a5a1d48 Auto version update to [54339] 2018-01-18 17:58:10 +03:00
robot-metrika-test
17570a42d5 Auto version update to [54338] 2018-01-18 04:25:30 +03:00
robot-metrika-test
e303fa8982 Auto version update to [54337] 2018-01-17 21:16:35 +03:00
Alexey Milovidov
f0aa21bca6 Disable usage of systemd (assumed that temporarily) [#CLICKHOUSE-2] 2018-01-17 21:14:22 +03:00
proller
87e7fb48d2 debian .postinst: check for running systemd (#1783)
* Use double-conversion as submodule

* debian .postinst: check for running systemd
2018-01-17 19:18:20 +03:00
proller
ed80378a43 Split too long test 2018-01-17 16:43:29 +03:00
proller
7a02babc06 Fix pbuilder in trusty 2018-01-16 23:37:24 +03:00
robot-metrika-test
0580eb1441 Auto version update to [54336] 2018-01-16 23:36:53 +03:00
robot-metrika-test
dc6127f672 Auto version update to [54335] 2018-01-16 21:06:14 +03:00
proller
f6d8436f81 Enable travis (#1772)
* Try travis

* wip

* Try travis

* try

* try

* try

* try

* Revert "try"

This reverts commit 7ecd73c2eb.

* try unbundled

* Try unbundled2

* Try undundled3

* Try unbundled4

* Try5

* try gcc7

* try6

* Try clang

* Try min

* try ccache

* try ccache stats

* no sudo

* try clang

* try ccache

* reset changelog

* Try fix clang

* try limit time

* Faster

* try timeout

* try faster

* Try

* try

* try

* try

* try

* try

* ccache

* Fix

* try test

* try test

* Fix try_listen in some vm's

* fix

* test

* fix

* cache timeout

* packages

* fix

* fix

* fix

* try emb compiler

* Try emb compiler

* Revert "try emb compiler"

This reverts commit 471713cabe.

* try

* Revert "Try emb compiler"

This reverts commit 95e632abf6.

* Skip long

* fix

* fix

* ccache

* fix

* debug

* Fxi test

* test fix

* tes fix

* Fix

* Fix link

* Fix odbc link

* Fxi test

* fix  boost unbundled include

* fix test

* fix test

* test fix

* fix tests

* tests

* Test fail
2018-01-15 21:57:10 +03:00
robot-metrika-test
1b82615be6 Auto version update to [54334] 2018-01-14 12:43:52 +03:00
proller
d412abb46e Debian source: do not pack build dirs 2018-01-12 18:46:04 +03:00
proller
1c06c0f810 Fix 32bit build 2018-01-12 15:50:59 +03:00
robot-metrika-test
00cc4639a9 Auto version update to [54333] 2018-01-12 12:43:30 +03:00
robot-metrika-test
ffff9320cd Auto version update to [54332] 2018-01-11 10:25:25 +03:00
proller
623999b7bf Debian: Soft replace clickhouse-compressor package 2018-01-10 21:01:06 +03:00
proller
febac4d430 pbuilder: set timezone before test 2018-01-10 14:51:12 +03:00
proller
b0469def79 Remove package clickhouse-compressor, simpler pbuilder test 2018-01-10 02:43:04 +03:00
robot-metrika-test
ee2ea696ba Auto version update to [54331] 2018-01-09 10:46:57 +03:00
proller
90cc999de7 Better libc++ test 2017-12-29 21:20:03 +03:00
proller
9c8fd06973 Tune pbuilder for debian 2017-12-28 18:55:50 +03:00
robot-metrika-test
f998b0c859 Auto version update to [54330] 2017-12-28 18:27:14 +03:00
proller
7a813002aa Build fixes 2017-12-28 15:58:39 +03:00
robot-metrika-test
5baa388708 Auto version update to [54329] 2017-12-28 13:55:24 +03:00
proller
68850012bd Embedded compiler fixes 2017-12-27 23:07:16 +03:00
proller
f9d3c01a01 Add package clickhouse-test, allow testing in pbuilder (#1709)
* Allow 32bit build (with warning)

* Add package clickhouse-test

* Test fixes

* fix

* fix

* clickhouse-test: aloow work in read-only queries dir (--tmp)

* Fix test
2017-12-27 22:01:57 +03:00
robot-metrika-test
becb843d18 Auto version update to [54328] 2017-12-27 11:09:36 +03:00
proller
ef3526d7b5 pbuilder: allow to define BUILDRESULT and BASETGZ via env 2017-12-26 15:30:45 +03:00
proller
ccf7c1f760 pbuilder: install package and make simple query (#1671)
* pbuilder: install package and make simple query

* use B92test-pkg from system

* Fix
2017-12-25 19:01:03 +03:00
proller
ab5cbcc627 Try fix internal compiler [tests run] (#1651)
* Try fic interal compiler

* Debian: depend on tzdata package

* fix order

* Try fix

* fix

* try

* fix

* fix

* fix

* fix
2017-12-18 23:30:19 +03:00
proller
e7f82b6a8c
Allow run test without package install and on custom ports. (#1643)
* ExtractFromConfig --try

* Add symlinks to package

* clickhouse-test --order option
2017-12-15 22:34:19 +03:00
proller
741117a390
Fix freebsd build. Little cmake fixes. (#1634) 2017-12-13 22:07:12 +03:00
robot-metrika-test
cbb02b580c Auto version update to [54326] 2017-12-13 12:55:19 +03:00
proller
759914b578 Cmake: Make symlinks as targets (allow "make clickhouse-server") (#1605)
* Use internal clang to copy headers

* Cmake: Make symlinks as targets (allow "make clickhouse-server")

* clean

* note

* fix

* fix

* Change lib names to *-lib

* rename
2017-12-09 19:36:03 +03:00
proller
40304a63b9
Use internal clang to copy headers (#1603) 2017-12-08 21:30:22 +03:00
proller
46fb94a3e4 Internal compiler: Use libclang-5.0 (#1597)
* Fix std::numeric_limits<__uint128_t>

* clean

* Better fix of std::numeric_limits<__uint128_t>

* Use clang 5.0 (release) as internal compiler

* message

* Fix werror

* fix

* fix

* fixing..

* note

* fix

* fix

* fix

* fix

* multi version

* fix

* fix
2017-12-08 11:28:08 +03:00
robot-metrika-test
24f07c8711 Auto version update to [54325] 2017-12-07 16:08:12 +03:00
robot-metrika-test
ea7cbfedc2 Auto version update to [54324] 2017-12-07 11:58:41 +03:00
robot-metrika-test
6f53eb2b9a Auto version update to [54323] 2017-12-06 11:59:46 +03:00
robot-metrika-test
c6ad1682e8 Auto version update to [54322] 2017-12-05 14:26:32 +03:00
robot-metrika-test
f76587faa2 Auto version update to [54319] 2017-12-01 09:36:28 +03:00
robot-metrika-test
82bdb77dac Auto version update to [54317] 2017-11-30 08:52:07 +03:00
robot-metrika-test
149b9bd4e2 Auto version update to [54314] 2017-11-28 13:25:48 +03:00
proller
ef1b559845 Check pid file contents inside clickhouse server (#1498)
* Check pid file contents inside clickhouse (allow run with exists pid file but not exists process)

* fix

* fix

* eol

* wip
2017-11-16 22:09:08 +03:00
proller
16eb293b15 No more gcc-6 and clang 3.8 2017-11-16 20:47:54 +03:00
proller
6b17dbbe21 Add systemd service and use it by default on systemd-enabled systems (install .service) 2017-11-16 20:45:51 +03:00
robot-metrika-test
ebec370fa5 Auto version update to [54312] 2017-11-15 16:12:02 +03:00
Alexey Milovidov
dcd8355b81 Addition to prev. revision [#CLICKHOUSE-3396]. 2017-11-12 20:26:49 +03:00
alexey-milovidov
9b18c6cb76
Embedded compiler (#1484)
* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 15:58:40 +03:00
alexey-milovidov
12e5057d5c Update clickhouse-server.service 2017-11-11 03:46:12 +03:00
Vladimir Smirnov
8d0236ebf9 Add systemd service and use it by default on systemd-enabled systems 2017-11-11 03:46:12 +03:00
Alexey Milovidov
ec5720eb66 Auto version update to [54311] 2017-11-09 22:25:21 +03:00
proller
75f41fb0d3 pbuilder: add ubuntu bionic, devel 2017-11-03 20:12:55 +03:00
robot-metrika-test
748f3e796b Auto version update to [54310] 2017-11-01 08:03:17 +03:00
robot-metrika-test
e41e71ad8b Auto version update to [54309] 2017-11-01 04:49:28 +03:00
robot-metrika-test
84d0c5adde Auto version update to [54308] 2017-10-31 22:32:28 +03:00
robot-metrika-test
67739ffa9b Auto version update to [54307] 2017-10-30 22:35:37 +03:00
robot-metrika-test
3a5ea17899 Auto version update to [54306] 2017-10-28 00:23:24 +03:00
robot-metrika-test
ab490ec1fa Auto version update to [54305] 2017-10-28 00:00:03 +03:00
proller
13e5e9fbde Fix build in ubuntu xenial in pbuilder 2017-10-23 20:35:43 +03:00
robot-metrika-test
8a2b7cf0b6 Auto version update to [54300] 2017-10-16 13:49:50 +03:00
proller
cc2324c3b7 Debian: use links generated by cmake (in future maybe real binaries) (#1348)
* TEST only: why initQueryAnalyzer ?

* Better tests

* missing file

* Missing file

* Add test

* Test fixes

* Fixed FREEZE PARTITION: using only active data parts; acquire snapshot of parts [#CLICKHOUSE-3369].

* Removed tcp_ssl_port by default [#CLICKHOUSE-2].

* Better tests

* comment

* clean

* REmove wrong code

* clean

* Debian: use links generated by cmake (in future maybe real binaries)
2017-10-13 21:48:20 +03:00
Alexey Milovidov
041623dee1 Moved chown to correct place [#CLICKHOUSE-2]. 2017-10-11 22:11:51 +03:00
Alexey Milovidov
27307685f6 Implemented TODO [#CLICKHOUSE-2]. 2017-10-11 22:07:03 +03:00
Alexey Milovidov
459d52a371 Whitespaces [#CLICKHOUSE-2]. 2017-10-11 18:00:34 +03:00
Alexey Milovidov
a7f46a4e66 Implemented TODO [#CLICKHOUSE-2]. 2017-10-11 17:44:12 +03:00
robot-metrika-test
6628b5d308 Auto version update to [54299] 2017-10-09 00:39:00 +03:00
robot-metrika-test
95ebdd53c0 Auto version update to [54297] 2017-10-05 12:22:56 +03:00
robot-metrika-test
5fdede6d85 Auto version update to [54294] 2017-09-29 01:08:47 +03:00
Vitaliy Lyudvichenko
7ee2c52328 Use clickhouse extract-from-config intead of clickhouse --extract-from-config and so on. [#CLICKHOUSE-2928] 2017-09-24 02:15:56 +03:00
robot-metrika-test
037a2a378d Auto version update to [54292] 2017-09-20 21:05:46 +03:00
robot-metrika-test
d44c2c1924 Auto version update to [54291] 2017-09-20 19:34:05 +03:00
robot-metrika-test
40b2fc4e30 Auto version update to [54290] 2017-09-20 05:58:20 +03:00
Alexey Milovidov
9b8722b0b5 Fixed incompatibility of debian packages with older systems [#CLICKHOUSE-3275]. 2017-09-15 12:51:56 +03:00
robot-metrika-test
5993e62f5b Auto version update to [54288] 2017-09-08 07:26:49 +03:00
robot-metrika-test
b5f94b6738 Auto version update to [54287] 2017-09-06 23:49:16 +03:00
proller
0e4d49570b LibraryDictionarySource fixes 2017-09-05 20:14:46 +03:00
proller
2a7813049e LibDictionarySource : First lib dictionary version with only uint64 type support (#1150)
* Wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Do not use ccache if ccache defined in CMAKE_CXX_COMPILER_LAUNCHER

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* Config: Allow multiple dictionaries_config

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* clean

* wip

* clean

* clean

* wip

* clean

* clean

* wip

* wip

* clean

* clean

* clean

* clean

* clean

* Requested changes

* Reqested changes

* Requested changes

* Requested changes

* Requested changes

* Requested changes

* requested changes

* Requested changes

* Requested changes

* requested changes

* Requested changes

* fix

* Requested changes

* Requested changes

* fix

* Requested changes

* Requested changes
2017-09-05 04:08:26 +03:00
robot-metrika-test
057b2790b4 Auto version update to [54286] 2017-09-05 00:37:29 +03:00
robot-metrika-test
0544e0c75f Auto version update to [54285] 2017-09-04 17:31:54 +03:00
proller
049569c102 Update debian/.pbuilderrc description 2017-09-02 00:20:01 +03:00
proller
79d6775274 Better .pbuilderrc description 2017-08-30 18:20:42 +03:00
proller
ad46d061a4 Improve debian building 2017-08-30 17:32:11 +03:00
proller
221110454e Prefer mariadbclient 2017-08-29 20:32:15 +03:00
robot-metrika-test
7943a21fcf Auto version update to [54281] 2017-08-24 16:37:27 +03:00
proller
8adbc812bc Isolated build system: add initial config for pbuilder 2017-08-24 16:04:21 +03:00
proller
b29fea5301 release script: fix autogenerating date on --version call. clean unused. 2017-08-18 16:25:14 +03:00
robot-metrika-test
7b6fa26151 Auto version update to [54280] 2017-08-18 04:35:46 +03:00
proller
c720524078 Auto version update to [54279] 2017-08-18 02:03:15 +03:00
proller
97699eeea2 Auto version update to [54278] 2017-08-18 01:51:12 +03:00
proller
2fa8ee5dd3 Debian: keep debian/changelog commited with actual version. 2017-08-17 22:20:04 +03:00
proller
c62901a871 Internal compiler: first try find and use clang with version in postf… (#1029)
* Fix missing includes

* clean

* Allow compile with clang 3.8 with warning

* Add message

* Internal compiler: first try find and use clang vith version in postfix (clang-4.0)

* Try use clang-3.8

* try use all clangs

* Update copy_clang_binaries.sh

* Update rules
2017-08-10 07:44:28 +03:00
felixoid
aaff26336d remove login mode from su in debian init-script, CLICKHOUSE-3195 2017-08-01 19:09:26 +03:00
Alexey Milovidov
4b31fd9a9c Style [#CLICKHOUSE-2]. 2017-07-08 19:09:32 +03:00
proller
d05cd2ca8c Fix clang finding in release script 2017-05-24 15:32:51 +03:00
Marek Vavruša
701ce6ab98 build: allow non-default clang binaries
this fixes release build with versioned clang from Debian
2017-05-22 19:24:36 -07:00
proller
1c74a7851b Debian: disable verbose cmake output 2017-05-03 18:21:16 +03:00
proller
dd90a43d90 debian package: remove not used dependency libglib2.0-dev 2017-05-02 13:00:55 +03:00
proller
1b8ff73345 Remove files for package lickhouse-server-metrika 2017-04-18 13:07:47 +03:00
Vasily Okunev
c12cbfc1e3 Removed clickhouse-server-metrika from debian/control. 2017-04-18 11:06:34 +03:00
proller
7183965ae1 Release: fix version
Debian: fix clean
2017-04-12 18:10:45 +03:00
proller
30b63929c1 Debian: simpler package: fix dh_shlibdeps 2017-04-10 21:57:28 +03:00
proller
72ccc69212 Debian: simpler package (#662)
* Allow use external re2 with re2_st=re2

* fix

* remove dupe

* use re2_st in FunctionsStringSearch.h

* fix

* move files from tools/etc to debian

* dont generate control

* version

* ok.

* wip

* Cmake: dont touch CMAKE_INSTALL_PREFIX

* wip

* works!

* clean

* okay

* like old

* wip

* wip

* okay

* clickhouse-server-base-dbg

* clean

* clickhouse-server-dbg

* Debian: Remove daemons

* Update rules

* add source/format

* control clean

* add watch

* clean

* clean

* temp fix build

* clean

* docs

* fake make_control

* fix

* testme

* testme

* add metrika package

* fake metrika files
2017-04-10 20:43:30 +03:00
proller
13e9b5c949 Cmake: dont touch CMAKE_INSTALL_PREFIX 2017-04-06 15:57:15 +03:00
Alexey Milovidov
31f7fe42d6 Fool's day changed, continued [#CLICKHOUSE-3]. 2017-04-05 14:52:23 +03:00
Alexey Milovidov
64b19e3d03 debian/rules: try to exit early [#CLICKHOUSE-2] 2017-03-06 00:01:15 +03:00
proller
d9fa329107 debian/rules: allow add any cmake args via CMAKE_FLAGS_ADD=... (#513) 2017-02-21 22:51:59 +04:00
proller
27b10bec7f debian: Again fix postinst (dont chown not existing dirs) (#501)
* Fix init.d script for all dash versions

* fix

* fix

* debian: Again fix postinst (dont chown not existing dirs)

* fix
2017-02-16 21:57:46 +04:00
proller
b46d27b086 debian postinst: Fix changing owner of old /opt/clickhouse 2017-02-14 00:03:03 +04:00
proller
3b83a71dcc debian postinst: Fix changing owner of old /opt/clickhouse (#485)
* debian postinst: Fix changing owner of old /opt/clickhouse

* debian postinst: Dont change owner of old /opt/clickhouse

* Chmod log dir
2017-02-13 23:19:21 +04:00
proller
cad398371d Init.d sctipt fixes 2017-02-03 16:55:16 +03:00
proller
d5f2e7f397 Debian: postinst: fix old log dir permissions 2017-02-01 01:43:32 +03:00
proller
c1edf399dd Debian: fix log dir in postinst 2017-02-01 00:36:13 +03:00
proller
c51801d776 Change default user and paths [#CLICKHOUSE-2715] (#382)
* Changing default user to clickhouse and path to /var/lib/clickhouse [#CLICKHOUSE-2715]

* wip

* Auto version update to [54141]

* Get version from saved in cmake
2017-01-31 23:53:05 +04:00
proller
1adf0bb3e1 Remove -metrika-yandex postfix from package names (#377) 2017-01-20 23:58:13 +04:00
proller
85f85af033 renamed: debian/compressor-metrika-yandex.install -> debian/clickhouse-compressor-metrika-yandex.install 2017-01-18 16:40:22 +03:00
proller
861a3c3208 rename compressor to clickhouse-compressor, Fix magic in copy_headers.sh (#345)
* rename compressor to clickhouse-compressor

* Fix magic in copy_headers.sh

* wip
2017-01-18 16:42:21 +04:00
proller
2dc2bc5ce1 Debian package build fixes 2017-01-10 21:28:24 +03:00
proller
1649b003a0 Better user-group creating in postinst, BaseDaemon::getDefaultCorePath [#METR-23811] 2017-01-09 16:42:29 +03:00
Alexey Milovidov
a5ebd02df9 Removed config-processor from packages build (it is rarely needed) [#METR-23586]. 2016-11-23 18:12:54 +03:00
Vitaliy Lyudvichenko
4cd2909899 Merged new packages into clickhouse-client.
More detail diagnostic for test.
2016-11-16 02:49:27 +03:00
Vitaliy Lyudvichenko
26fe84b3d0 Removed binary stripping, try to fix clickhouse-local test. 2016-11-15 00:58:17 +03:00
Vitaliy Lyudvichenko
73e5f828f4 Fixed debian build install. 2016-11-14 22:14:11 +03:00
Vitaliy Lyudvichenko
bfbe8f8ed1 Fixed debian package build. 2016-11-14 18:32:55 +03:00
Vitaliy Lyudvichenko
107f7b34c7 Added requested PR changes, 2nd iteration. 2016-11-14 02:57:18 +03:00
Alexey Milovidov
ab9ff0979d Improved package build time; consistent package size across different Ubuntu versions [#METRIQA-72]. 2016-08-12 19:43:54 +03:00
Alexey Milovidov
59c601bff4 Addition to prev. revision [#MTRSADMIN-2107]. 2016-07-30 00:30:47 +03:00
Alexey Milovidov
349fd1aca8 Removed logrotate [#MTRSADMIN-2107]. 2016-07-29 19:46:11 +03:00
Andrew Grigorev
497e7d722b make clean: ignore ./debian/copyright if it not exist 2016-06-16 19:43:21 +03:00
Andrew Grigorev
375d968f46 Fix comment in debian/rules 2016-06-16 19:14:50 +03:00
Andrew Grigorev
1d1fc73657 make clean: remove debian/*.docs generated links
Fix release build failure on existence of debian/*.docs links from previous build:

```
ln -s clickhouse-server.docs debian/clickhouse-server-base.docs
ln: failed to create symbolic link 'debian/clickhouse-server-base.docs': File exists
debian/rules:48: recipe for target 'install' failed
make: *** [install] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed
```
2016-06-16 19:13:38 +03:00
Alexey Milovidov
dad7c09a02 Docs in packages: development [#METR-20000]. 2016-06-10 19:03:16 +03:00