Skip to content

Commit

Permalink
Fix postgres version in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonVides committed Oct 4, 2021
1 parent 74ac85a commit 40f1728
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tools/db-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ CASSANDRA_VERSION=${CASSANDRA_VERSION:-3.9}
ELASTICSEARCH_VERSION=${ELASTICSEARCH_VERSION:-5.6.9}

MYSQL_VERSION=${MYSQL_VERSION:-8.0.20}

PGSQL_VERSION=${PGSQL_VERSION:-13.4}
2 changes: 1 addition & 1 deletion tools/setup-db.sh
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ elif [ "$db" = 'pgsql' ]; then
$(mount_ro_volume ${SQL_TEMP_DIR} /tmp/sql) \
$(data_on_volume -v ${SQL_DATA_DIR}:/var/lib/postgresql/data) \
$(mount_ro_volume ${TOOLS}/docker-setup-postgres.sh /docker-entrypoint-initdb.d/docker-setup-postgres.sh) \
-p $PGSQL_PORT:5432 --name=$NAME postgres
-p $PGSQL_PORT:5432 --name=$NAME postgres:$PGSQL_VERSION
mkdir -p ${PGSQL_ODBC_CERT_DIR}
cp ${SSLDIR}/ca/cacert.pem ${PGSQL_ODBC_CERT_DIR}/root.crt

Expand Down

0 comments on commit 40f1728

Please sign in to comment.