Commit Graph

444 Commits

Author SHA1 Message Date
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
Alexey Milovidov
196002c089 Docs in packages: development [#METR-20000]. 2016-06-10 18:42:44 +03:00
Alexey Milovidov
8f9e4c7e82 Docs in packages: development [#METR-20000]. 2016-06-10 18:23:50 +03:00
Alexey Milovidov
0790d27f14 Fixed error [#METR-20000] 2016-06-10 18:00:57 +03:00
Alexey Milovidov
7e60a063b6 Fixed error [#METR-20000]. 2016-06-10 17:45:00 +03:00
Alexey Milovidov
a74964de12 Addition to prev. revision [#METR-20000]. 2016-06-10 17:20:09 +03:00
Alexey Milovidov
c990589b30 Added documentation to packages [#METR-20000]. 2016-06-10 17:11:45 +03:00
Alexey Milovidov
d5aa779041 Less dependencies [#METR-20000]. 2016-06-10 16:14:32 +03:00
Alexey Milovidov
d2adc92cde Better [#METR-21515]. 2016-05-28 03:56:37 +03:00
Vladimir Chebotarev
ecea6d6421 : Fixed a typo. [#METR-20000] 2016-05-27 21:42:50 +03:00
Alexey Milovidov
ce94de168c Changed version number [#METR-20000]. 2016-05-20 00:27:25 +03:00
Alexey Milovidov
f73c3aeec5 Added 'ld' to package for dynamic builds [#METR-21210]. 2016-05-05 22:10:28 +03:00
Alexey Milovidov
5d8e086d40 Applied diff from Metrika [#METR-20280]. 2016-03-03 22:12:15 +03:00
Alexey Milovidov
c934015e54 Revert "Removed wrong file [#METR-20000]."
This reverts commit 5e89aa72a09c6d48276f7c4b97e247ecec429693.
2016-03-02 23:24:03 +03:00
Alexey Milovidov
9bf811ddac Removed wrong file [#METR-20000]. 2016-03-02 22:47:38 +03:00
Alexey Milovidov
9676b1a3ab Fixed build of package [#TESTIRT-8503]. 2016-02-29 23:57:53 +03:00
Pavel Kartavyy
506bee0915 rules: fix error in postinst 2016-02-17 16:34:22 +03:00
Alexey Milovidov
df1d66e51a Removed sensitive data. 2016-02-08 00:58:58 +03:00
Alexey Milovidov
c3827a29eb Removed unrelated data. 2016-02-07 23:02:44 +03:00