mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-16 03:13:09 +00:00
fix(build): upgrade vercel builds to Node 20.x (#10890)
This commit is contained in:
parent
5327f80cf7
commit
e5d42715f0
@ -4,6 +4,10 @@ set -euxo pipefail
|
|||||||
|
|
||||||
./metadata-ingestion/scripts/install_deps.sh
|
./metadata-ingestion/scripts/install_deps.sh
|
||||||
|
|
||||||
|
# Set up java version for gradle
|
||||||
|
yum install java-17-amazon-corretto -y
|
||||||
|
java --version
|
||||||
|
|
||||||
# Build python from source.
|
# Build python from source.
|
||||||
# Amazon Linux 2 has Python 3.8, but it's version of OpenSSL is super old and hence it
|
# Amazon Linux 2 has Python 3.8, but it's version of OpenSSL is super old and hence it
|
||||||
# doesn't work with the packages we use. As such, we have to build Python from source.
|
# doesn't work with the packages we use. As such, we have to build Python from source.
|
||||||
@ -11,8 +15,7 @@ set -euxo pipefail
|
|||||||
# for reuse.
|
# for reuse.
|
||||||
|
|
||||||
yum groupinstall "Development Tools" -y
|
yum groupinstall "Development Tools" -y
|
||||||
yum erase openssl-devel -y
|
yum install openssl openssl-devel libffi-devel bzip2-devel wget nodejs -y
|
||||||
yum install openssl11 openssl11-devel libffi-devel bzip2-devel wget nodejs -y
|
|
||||||
|
|
||||||
wget https://www.python.org/ftp/python/3.10.11/Python-3.10.11.tgz
|
wget https://www.python.org/ftp/python/3.10.11/Python-3.10.11.tgz
|
||||||
tar -xf Python-3.10.11.tgz
|
tar -xf Python-3.10.11.tgz
|
||||||
@ -29,6 +32,3 @@ rm "$py3"
|
|||||||
ln "$(which python3.10)" "$py3"
|
ln "$(which python3.10)" "$py3"
|
||||||
python3 --version
|
python3 --version
|
||||||
|
|
||||||
# Set up java version for gradle
|
|
||||||
yum install java-17-amazon-corretto
|
|
||||||
java --version
|
|
||||||
@ -18,7 +18,8 @@ else
|
|||||||
sqlite-devel \
|
sqlite-devel \
|
||||||
xz-devel \
|
xz-devel \
|
||||||
libxml2-devel \
|
libxml2-devel \
|
||||||
libxslt-devel
|
libxslt-devel \
|
||||||
|
krb5-devel
|
||||||
else
|
else
|
||||||
$sudo_cmd apt-get update && $sudo_cmd apt-get install -y \
|
$sudo_cmd apt-get update && $sudo_cmd apt-get install -y \
|
||||||
python3-ldap \
|
python3-ldap \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user