Skip to content

Commit

Permalink
Synced MySQL and MariaDB version from CircleCI config
Browse files Browse the repository at this point in the history
  • Loading branch information
jamius19 committed Nov 21, 2024
1 parent 5d2c232 commit abb024a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ jobs:
docker:
# specify the version
- image: cimg/go:1.22.8

# Please keep the version in sync with test/docker-compose.yaml
- image: cimg/postgres:14.10
environment:
POSTGRES_USER: jet
POSTGRES_PASSWORD: jet
POSTGRES_DB: jetdb
PGPORT: 50901

# Please keep the version in sync with test/docker-compose.yaml
- image: circleci/mysql:8.0.27
command: [ --default-authentication-plugin=mysql_native_password ]
environment:
Expand All @@ -25,6 +28,7 @@ jobs:
MYSQL_PASSWORD: jet
MYSQL_TCP_PORT: 50902

# Please keep the version in sync with test/docker-compose.yaml
- image: circleci/mariadb:10.3
command: [ '--default-authentication-plugin=mysql_native_password', '--port=50903' ]
environment:
Expand All @@ -33,6 +37,7 @@ jobs:
MYSQL_USER: jet
MYSQL_PASSWORD: jet

# Please keep the version in sync with test/docker-compose.yaml
- image: cockroachdb/cockroach-unstable:v23.1.0-rc.2
command: ['start-single-node', '--accept-sql-without-tls']
environment:
Expand Down
4 changes: 2 additions & 2 deletions tests/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
- ./testdata/init/postgres:/docker-entrypoint-initdb.d

mysql:
image: mysql:8.0
image: mysql:8.0.27
command: ['--default-authentication-plugin=mysql_native_password', '--log_bin_trust_function_creators=1']
restart: always
environment:
Expand All @@ -26,7 +26,7 @@ services:
- ./testdata/init/mysql:/docker-entrypoint-initdb.d

mariadb:
image: mariadb:10.3.32
image: mariadb:10.3
command: ['--default-authentication-plugin=mysql_native_password', '--log_bin_trust_function_creators=1']
restart: always
environment:
Expand Down

0 comments on commit abb024a

Please sign in to comment.