Upgrade CockroachDB on CI

pull/2028/head
Jack Christensen 2024-05-25 07:48:47 -05:00
parent 24c0a5e8ff
commit c1f4cbb5cd
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ fi
if [[ "${PGVERSION-}" =~ ^cockroach ]]
then
wget -qO- https://binaries.cockroachdb.com/cockroach-v23.1.3.linux-amd64.tgz | tar xvz
sudo mv cockroach-v23.1.3.linux-amd64/cockroach /usr/local/bin/
wget -qO- https://binaries.cockroachdb.com/cockroach-v23.2.5.linux-amd64.tgz | tar xvz
sudo mv cockroach-v23.2.5.linux-amd64/cockroach /usr/local/bin/
cockroach start-single-node --insecure --background --listen-addr=localhost
cockroach sql --insecure -e 'create database pgx_test'
fi