Skip to content

Commit

Permalink
add compat package for clickhouse
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayk committed Feb 20, 2024
1 parent b7d4626 commit 7a6ecce
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions clickhouse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,11 @@ pipeline:
- runs: |
cd build
ninja -j $(nproc)
mkdir -p ${{targets.destdir}}/etc/clickhouse-server/config.d/
mkdir -p ${{targets.destdir}}/var/lib/clickhouse
mkdir -p ${{targets.destdir}}/var/log/clickhouse-server
DESTDIR=${{targets.destdir}} ninja install
rm -rf ${{targets.destdir}}/usr/lib/debug
install -Dm755 ../docker/server/entrypoint.sh ${{targets.destdir}}/entrypoint.sh
cp ../docker/server/docker_related_config.xml ${{targets.destdir}}/etc/clickhouse-server/config.d/docker_related_config.xml
- uses: strip

subpackages:
Expand All @@ -84,9 +80,10 @@ subpackages:
description: "docker compat for clickhouse"
pipeline:
- runs: |
mv ${{targets.destdir}}/entrypoint.sh ${{targets.subpkgdir}}/entrypoint.sh
cd build
install -Dm755 ../docker/server/entrypoint.sh ${{targets.subpkgdir}}/entrypoint.sh
mkdir -p ${{targets.subpkgdir}}/etc/clickhouse-server/config.d/
mv ${{targets.destdir}}/etc/clickhouse-server/config.d/docker_related_config.xml ${{targets.subpkgdir}}/etc/clickhouse-server/config.d/docker_related_config.xml
cp ../docker/server/docker_related_config.xml ${{targets.subpkgdir}}/etc/clickhouse-server/config.d/docker_related_config.xml
update:
enabled: true
Expand Down

0 comments on commit 7a6ecce

Please sign in to comment.