Synced MySQL and MariaDB version from CircleCI config

This commit is contained in:
Jamius Siam 2024-11-21 18:47:55 +06:00
parent 5d2c232529
commit abb024a2ae
2 changed files with 7 additions and 2 deletions

View file

@ -9,6 +9,8 @@ jobs:
docker: docker:
# specify the version # specify the version
- image: cimg/go:1.22.8 - image: cimg/go:1.22.8
# Please keep the version in sync with test/docker-compose.yaml
- image: cimg/postgres:14.10 - image: cimg/postgres:14.10
environment: environment:
POSTGRES_USER: jet POSTGRES_USER: jet
@ -16,6 +18,7 @@ jobs:
POSTGRES_DB: jetdb POSTGRES_DB: jetdb
PGPORT: 50901 PGPORT: 50901
# Please keep the version in sync with test/docker-compose.yaml
- image: circleci/mysql:8.0.27 - image: circleci/mysql:8.0.27
command: [ --default-authentication-plugin=mysql_native_password ] command: [ --default-authentication-plugin=mysql_native_password ]
environment: environment:
@ -25,6 +28,7 @@ jobs:
MYSQL_PASSWORD: jet MYSQL_PASSWORD: jet
MYSQL_TCP_PORT: 50902 MYSQL_TCP_PORT: 50902
# Please keep the version in sync with test/docker-compose.yaml
- image: circleci/mariadb:10.3 - image: circleci/mariadb:10.3
command: [ '--default-authentication-plugin=mysql_native_password', '--port=50903' ] command: [ '--default-authentication-plugin=mysql_native_password', '--port=50903' ]
environment: environment:
@ -33,6 +37,7 @@ jobs:
MYSQL_USER: jet MYSQL_USER: jet
MYSQL_PASSWORD: jet MYSQL_PASSWORD: jet
# Please keep the version in sync with test/docker-compose.yaml
- image: cockroachdb/cockroach-unstable:v23.1.0-rc.2 - image: cockroachdb/cockroach-unstable:v23.1.0-rc.2
command: ['start-single-node', '--accept-sql-without-tls'] command: ['start-single-node', '--accept-sql-without-tls']
environment: environment:

View file

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