-
-
Notifications
You must be signed in to change notification settings - Fork 5k
chore: bump MySQL to min 8.4 and support 9.7 #61247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,9 +60,9 @@ jobs: | |
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - mysql-versions: '8.0' | ||
| php-versions: '8.3' | ||
| - mysql-versions: '8.4' | ||
| php-versions: '8.3' | ||
| - mysql-versions: '9.7' | ||
| php-versions: '8.5' | ||
|
|
||
| name: MySQL ${{ matrix.mysql-versions }} (PHP ${{ matrix.php-versions }}) - database tests | ||
|
|
@@ -75,7 +75,7 @@ jobs: | |
| options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3 | ||
|
|
||
| mysql: | ||
| image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest # zizmor: ignore[unpinned-images] | ||
| image: mysql:${{ matrix.mysql-versions }} # zizmor: ignore[unpinned-images] | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @nickvergessen as we now have a docker cache in place we do not run into problems with docker hub anymore. Do we still need to use our own images?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is it more likely that we get hacked or mysql? :P |
||
| ports: | ||
| - 4444:3306/tcp | ||
| env: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PS: Is this only needed in sharding? Or should it also be in phpunit-mysql?
And I guess we should change https://github.com/nextcloud/.github/blob/master/workflow-templates/phpunit-mysql.yml as well so apps start testing against it