mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-14 03:25:15 +00:00
589899ac25
* Added initial scripts for CI [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2] * CI: development [#CLICKHOUSE-2]
19 lines
571 B
Bash
Executable File
19 lines
571 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e -x
|
|
|
|
# Usage example:
|
|
# ./run-with-docker.sh centos:centos6 ./run-clickhouse-from-binaries.sh
|
|
|
|
source default-config
|
|
|
|
SERVER_BIN="${WORKSPACE}/build/dbms/src/Server/clickhouse"
|
|
SERVER_CONF="${WORKSPACE}/sources/dbms/src/Server/config.xml"
|
|
SERVER_DATADIR="${WORKSPACE}/clickhouse"
|
|
|
|
[[ -x "$SERVER_BIN" ]] || die "Run build-normal.sh first"
|
|
[[ -r "$SERVER_CONF" ]] || die "Run get-sources.sh first"
|
|
|
|
mkdir -p "${SERVER_DATADIR}"
|
|
|
|
$SERVER_BIN server --config-file "$SERVER_CONF" --pid-file="${WORKSPACE}/clickhouse.pid" -- --path "$SERVER_DATADIR"
|