Skip to content

Commit

Permalink
chore: ci configure user/pass for clickhouse
Browse files Browse the repository at this point in the history
  • Loading branch information
patoui committed Nov 29, 2024
1 parent 6825c6f commit 4b5f937
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,18 @@ jobs:
echo "deb [signed-by=/usr/share/keyrings/clickhouse-keyring.gpg] https://packages.clickhouse.com/deb stable main" | sudo tee /etc/apt/sources.list.d/clickhouse.list
sudo apt-get update
sudo apt-get install -y clickhouse-server clickhouse-client
# Configure default user
sudo sed -i 's|<password>.*</password>|<password></password>|' /etc/clickhouse-server/users.xml
sudo sed -i 's|<networks>.*</networks>|<networks><ip>::/0</ip></networks>|' /etc/clickhouse-server/users.xml
# Start ClickHouse server
sudo service clickhouse-server start
- name: Install SeasClick extension
run: |
sudo apt-get install -y php-pear php-dev gcc make
printf "\n" | sudo pecl install seasclick
sudo pecl install seasclick
env:
ACCEPT_PECL_LICENSE: 'yes'

Expand Down

0 comments on commit 4b5f937

Please sign in to comment.