Upgrade CockroachDB on CI

pull/1372/head
Jack Christensen 2022-10-01 10:11:11 -05:00
parent 305c4ddbc7
commit 63ae730fe8
1 changed files with 2 additions and 2 deletions

View File

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