From ad83b9f9090fe56e49d8ec59ee97d8bec1d5b50d Mon Sep 17 00:00:00 2001 From: Bogdans Date: Sat, 16 Mar 2019 14:28:28 +0200 Subject: [PATCH] improve performance of CH setup in CI --- .circleci/config.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 65dae79..5255c05 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -20,13 +20,10 @@ jobs: - run: name: Install ClickHouse command: | - sudo apt-get update - sudo apt-get install software-properties-common sudo apt-key adv --keyserver keyserver.ubuntu.com --recv E0C56BD4 echo "deb http://repo.yandex.ru/clickhouse/deb/stable/ main/" | sudo tee /etc/apt/sources.list.d/clickhouse.list sudo apt-get update - sudo apt-get install clickhouse-server-common -y - sudo apt-get install clickhouse-client -y + sudo apt-get install -y software-properties-common clickhouse-server-common clickhouse-client sudo sed -e "/::1<\/listen_host>/d" -i /etc/clickhouse-server/config.xml sudo service clickhouse-server start @@ -64,13 +61,10 @@ jobs: - run: name: Install ClickHouse command: | - sudo apt-get update - sudo apt-get install software-properties-common sudo apt-key adv --keyserver keyserver.ubuntu.com --recv E0C56BD4 echo "deb http://repo.yandex.ru/clickhouse/deb/stable/ main/" | sudo tee /etc/apt/sources.list.d/clickhouse.list sudo apt-get update - sudo apt-get install clickhouse-server-common -y - sudo apt-get install clickhouse-client -y + sudo apt-get install -y software-properties-common clickhouse-server-common clickhouse-client sudo sed -e "/::1<\/listen_host>/d" -i /etc/clickhouse-server/config.xml sudo service clickhouse-server start @@ -108,13 +102,10 @@ jobs: - run: name: Install ClickHouse command: | - sudo apt-get update - sudo apt-get install software-properties-common sudo apt-key adv --keyserver keyserver.ubuntu.com --recv E0C56BD4 echo "deb http://repo.yandex.ru/clickhouse/deb/stable/ main/" | sudo tee /etc/apt/sources.list.d/clickhouse.list sudo apt-get update - sudo apt-get install clickhouse-server-common -y - sudo apt-get install clickhouse-client -y + sudo apt-get install -y software-properties-common clickhouse-server-common clickhouse-client sudo sed -e "/::1<\/listen_host>/d" -i /etc/clickhouse-server/config.xml sudo service clickhouse-server start - run: