Skip to content

Commit

Permalink
Actually run against the version of the DB we select in the matrix. (a…
Browse files Browse the repository at this point in the history
…pache#12591)

Due to a bug in Breeze initialization code, we were always running
against Postgres 9.6 and MySQL 5.7, even when the matrix selected
something else.

(We were overwriting the POSTGRES_VERSION and MYSQL_VERSION environment
variables in initialization code)
  • Loading branch information
ashb authored Nov 25, 2020
1 parent 4f4714f commit 54adda5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ci/libraries/_initialization.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ function initialization::initialize_base_variables() {
export CURRENT_MYSQL_VERSIONS

# Default Postgres versions
export POSTGRES_VERSION=${CURRENT_POSTGRES_VERSIONS[0]}
export POSTGRES_VERSION=${POSTGRES_VERSION:=${CURRENT_POSTGRES_VERSIONS[0]}}

# Default MySQL versions
export MYSQL_VERSION=${CURRENT_MYSQL_VERSIONS[0]}
export MYSQL_VERSION=${MYSQL_VERSION:=${CURRENT_MYSQL_VERSIONS[0]}}

# If set to true, the database will be reset at entry. Works for Postgres and MySQL
export DB_RESET=${DB_RESET:="false"}
Expand Down

0 comments on commit 54adda5

Please sign in to comment.