Skip to content

Commit

Permalink
Merge pull request #195 from keboola/marek-PST-2286-ci-for-mysql-ver-9-1
Browse files Browse the repository at this point in the history
Update PST-2286: CI Test for mysql ver 9.1
  • Loading branch information
themark147 authored Dec 16, 2024
2 parents 9d7675a + 032c6bb commit 26abc83
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
strategy:
fail-fast: false
matrix:
mysql: [ 8, 5.6 ]
mysql: [ 9.1, 8, 5.6 ]
steps:
- name: Check out the repo
uses: actions/checkout@v3
Expand Down
2 changes: 2 additions & 0 deletions docker/mysql-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

if [[ "$MYSQL_VERSION" =~ ^5\.6 ]]; then
exec docker-entrypoint.sh mysqld --local-infile --port=3306 --default-authentication-plugin=mysql_native_password
elif [[ "$MYSQL_VERSION" =~ ^9.[0-1] ]]; then
exec docker-entrypoint.sh mysqld --local-infile --port=3306 --upgrade=FORCE
else
exec docker-entrypoint.sh mysqld --local-infile --port=3306 --mysql-native-password=ON
fi
6 changes: 6 additions & 0 deletions docker/mysql-ssl/9.1/conf.d/ssl.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[mysqld]

ssl-ca = /ssl-cert/ca-cert.pem
ssl-cert = /ssl-cert/server-cert.pem
ssl-key = /ssl-cert/server-key.pem
require_secure_transport = ON

0 comments on commit 26abc83

Please sign in to comment.