Skip to content

Commit

Permalink
fix: fix hobby deploy (#25407)
Browse files Browse the repository at this point in the history
  • Loading branch information
aspicer authored Oct 4, 2024
1 parent a6d6542 commit 1d27039
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 0 additions & 4 deletions docker/clickhouse/docker-entrypoint-initdb.d/init-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
set -e

apt-get update
# Necessary because clickhouse runs on Ubuntu 20, which has an old glibc and an old python default
# Can remove when we upgrade clickhouse, as the new images run on Ubuntu 22
apt-get -y install python3.9
ln -s /usr/bin/python3.9 /usr/bin/python3
wget http://launchpadlibrarian.net/588931980/libc6_2.35-0ubuntu3_amd64.deb
dpkg --auto-deconfigure -i libc6_2.35-0ubuntu3_amd64.deb
cp -r /idl/* /var/lib/clickhouse/format_schemas/
8 changes: 8 additions & 0 deletions funnel-udf/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

cargo install cross --git https://github.com/cross-rs/cross
cross build --target x86_64-unknown-linux-gnu --release
cross build --target aarch64-unknown-linux-gnu --release
cp target/x86_64-unknown-linux-gnu/release/funnels ../posthog/user_scripts/aggregate_funnel_x86_64
cp target/aarch64-unknown-linux-gnu/release/funnels ../posthog/user_scripts/aggregate_funnel_aarch64
echo "Make sure to run udf_versioner.py"
Binary file modified posthog/user_scripts/aggregate_funnel_x86_64
Binary file not shown.
Binary file modified posthog/user_scripts/v0/aggregate_funnel_x86_64
Binary file not shown.

0 comments on commit 1d27039

Please sign in to comment.