mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-21 21:49:51 +01:00
fix: fix hobby deploy (#25407)
This commit is contained in:
parent
a6d654291c
commit
1d27039ff6
@ -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
funnel-udf/build.sh
Normal file
8
funnel-udf/build.sh
Normal file
@ -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 not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user