mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Use new top_level_domains_path
This commit is contained in:
parent
7b0c720922
commit
352a1eea34
@ -64,7 +64,14 @@ function stop_server
|
||||
function start_server
|
||||
{
|
||||
set -m # Spawn server in its own process groups
|
||||
clickhouse-server --config-file="$FASTTEST_DATA/config.xml" -- --path "$FASTTEST_DATA" --user_files_path "$FASTTEST_DATA/user_files" &>> "$FASTTEST_OUTPUT/server.log" &
|
||||
local opts=(
|
||||
--config-file="$FASTTEST_DATA/config.xml"
|
||||
--
|
||||
--path "$FASTTEST_DATA"
|
||||
--user_files_path "$FASTTEST_DATA/user_files"
|
||||
--top_level_domains_path "$FASTTEST_DATA/top_level_domains"
|
||||
)
|
||||
clickhouse-server "${opts[@]}" &>> "$FASTTEST_OUTPUT/server.log" &
|
||||
server_pid=$!
|
||||
set +m
|
||||
|
||||
|
@ -4,4 +4,5 @@
|
||||
<user_files_path replace="replace">./user_files/</user_files_path>
|
||||
<format_schema_path replace="replace">./format_schemas/</format_schema_path>
|
||||
<access_control_path replace="replace">./access/</access_control_path>
|
||||
<top_level_domains_path replace="replace">./top_level_domains/</top_level_domains_path>
|
||||
</yandex>
|
||||
|
@ -1,9 +1,5 @@
|
||||
<yandex>
|
||||
<top_level_domains_lists>
|
||||
<!-- relative to application.path, i.e.:
|
||||
- /var/lib/clickhouse/ on CI
|
||||
- $PWD local
|
||||
-->
|
||||
<public_suffix_list>public_suffix_list.dat</public_suffix_list>
|
||||
</top_level_domains_lists>
|
||||
</yandex>
|
||||
|
3
tests/config/config.d/top_level_domains_path.xml
Normal file
3
tests/config/config.d/top_level_domains_path.xml
Normal file
@ -0,0 +1,3 @@
|
||||
<yandex>
|
||||
<top_level_domains_path replace="replace">/etc/clickhouse-server/top_level_domains/</top_level_domains_path>
|
||||
</yandex>
|
@ -31,6 +31,7 @@ ln -sf $SRC_PATH/config.d/test_cluster_with_incorrect_pw.xml $DEST_SERVER_PATH/c
|
||||
ln -sf $SRC_PATH/config.d/logging_no_rotate.xml $DEST_SERVER_PATH/config.d/
|
||||
ln -sf $SRC_PATH/config.d/tcp_with_proxy.xml $DEST_SERVER_PATH/config.d/
|
||||
ln -sf $SRC_PATH/config.d/top_level_domains_lists.xml $DEST_SERVER_PATH/config.d/
|
||||
ln -sf $SRC_PATH/config.d/top_level_domains_path.xml $DEST_SERVER_PATH/config.d/
|
||||
ln -sf $SRC_PATH/users.d/log_queries.xml $DEST_SERVER_PATH/users.d/
|
||||
ln -sf $SRC_PATH/users.d/readonly.xml $DEST_SERVER_PATH/users.d/
|
||||
ln -sf $SRC_PATH/users.d/access_management.xml $DEST_SERVER_PATH/users.d/
|
||||
@ -42,11 +43,7 @@ ln -sf $SRC_PATH/strings_dictionary.xml $DEST_SERVER_PATH/
|
||||
ln -sf $SRC_PATH/decimals_dictionary.xml $DEST_SERVER_PATH/
|
||||
ln -sf $SRC_PATH/executable_dictionary.xml $DEST_SERVER_PATH/
|
||||
|
||||
# For CI when it is runned via init service
|
||||
mkdir -p /var/lib/clickhouse/cores
|
||||
ln -sf $SRC_PATH/public_suffix_list.dat /var/lib/clickhouse/cores/
|
||||
# For fasttest, that runs server just in background
|
||||
ln -sf $SRC_PATH/public_suffix_list.dat ./
|
||||
ln -sf $SRC_PATH/top_level_domains $DEST_SERVER_PATH/
|
||||
|
||||
ln -sf $SRC_PATH/server.key $DEST_SERVER_PATH/
|
||||
ln -sf $SRC_PATH/server.crt $DEST_SERVER_PATH/
|
||||
|
Loading…
Reference in New Issue
Block a user