Skip to content

Commit

Permalink
CI: update DB versions
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Aug 6, 2024
1 parent 7e433df commit 4bfeec2
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: [10.6]
version: [11.4]
runtime: [actix]
tls: [native-tls]
services:
Expand Down Expand Up @@ -441,7 +441,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: [14, 15, 16]
version: [14, 16]
runtime: [tokio]
tls: [native-tls]
services:
Expand Down
11 changes: 11 additions & 0 deletions build-tools/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@ services:
# MariaDB
#

mariadb_11_4:
image: mariadb:11.4
ports:
- 3306
environment:
MYSQL_DB: mysql
MYSQL_USER: sea
MYSQL_PASSWORD: sea
MYSQL_ALLOW_EMPTY_PASSWORD: yes
MYSQL_ROOT_PASSWORD: root

mariadb_10_6:
image: mariadb:10.6
ports:
Expand Down
10 changes: 10 additions & 0 deletions build-tools/docker-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@

# Setup MariaDB

docker run \
--name "mariadb-11.4" \
--env MYSQL_DB="mysql" \
--env MYSQL_USER="sea" \
--env MYSQL_PASSWORD="sea" \
--env MYSQL_ALLOW_EMPTY_PASSWORD="yes" \
--env MYSQL_ROOT_PASSWORD="root" \
-d -p 3306:3306 mariadb:11.4
docker stop "mariadb-11.4"

docker run \
--name "mariadb-10.6" \
--env MYSQL_DB="mysql" \
Expand Down

0 comments on commit 4bfeec2

Please sign in to comment.