Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Hub CI by bumping postgres to postgres 15 and node to 18.x #1156

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions test/presubmit-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,13 @@ err() {
install-node() {
info Installing node

curl -sL https://deb.nodesource.com/setup_17.x | bash -
curl -sL https://deb.nodesource.com/setup_18.x | bash -
apt-get install -y nodejs

node --version

apt-get install -y npm
npm --version
}

ui-unittest() {
Expand All @@ -78,9 +81,9 @@ install-postgres() {
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'
apt-get update
apt-get -y install postgresql-13
apt-get -y install postgresql-15
service postgresql start
pg_ctlcluster 13 main start
pg_ctlcluster 15 main start
}

set-pg-passwd() {
Expand Down