Skip to content

feat: Upgrade MySQL to 8.4.3 #3

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

Merged
merged 3 commits into from
Jan 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ APP_SECRET=
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=8.0.32&charset=utf8mb4"
# DATABASE_URL="mysql://app:[email protected]:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
# DATABASE_URL="postgresql://app:[email protected]:5432/app?serverVersion=16&charset=utf8"
DATABASE_URL="mysql://acme:acme@database:3306/acme?serverVersion=8.4&charset=utf8mb4"
DATABASE_URL="mysql://acme:acme@database:3306/acme?serverVersion=8.4.3&charset=utf8mb4"
###< doctrine/doctrine-bundle ###

###> symfony/mailer ###
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:8.4
image: mysql:8.4.3
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: test
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
runs-on: ubuntu-latest
services:
mysql:
image: mysql:8.4
image: mysql:8.4.3
env:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: test
Expand Down Expand Up @@ -131,4 +131,4 @@ jobs:
- name: Run PHPUnit
run: vendor/bin/phpunit --coverage-text
env:
DATABASE_URL: "mysql://root:[email protected]:3306/test?serverVersion=8.4&charset=utf8mb4"
DATABASE_URL: "mysql://root:[email protected]:3306/test?serverVersion=8.4.3&charset=utf8mb4"
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ phpunit:
stage: test
image: thomasagedev/template-symfony:1.0.0
services:
- name: mysql:8.4
- name: mysql:8.4.3
alias: mysql
variables:
MYSQL_HOST: mysql
Expand All @@ -42,7 +42,7 @@ phpunit:
MYSQL_PASSWORD: test
MYSQL_ROOT_PASSWORD: root
before_script:
- echo 'DATABASE_URL=mysql://root:root@mysql:3306/test?serverVersion=8.4&charset=utf8mb4' >> .env.test
- echo 'DATABASE_URL=mysql://root:root@mysql:3306/test?serverVersion=8.4.3&charset=utf8mb4' >> .env.test
script:
- vendor/bin/phpunit --coverage-text
dependencies:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

* HTTP server: [Caddy](https://caddyserver.com/) (port: 443)
* [PHP-FPM](https://www.php.net/) (version: 8.3) with [Symfony](https://symfony.com/) (version: 7.2)
* Database: [MySQL](https://www.mysql.com/) (8.4)
* Database: [MySQL](https://www.mysql.com/) (8.4.3)
* Messages queue: [Redis](https://redis.io/)
* Messages worker

Expand Down
1 change: 1 addition & 0 deletions ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
* Add mutation testing
* Reset password
* Pagination
* Bump to PHP 8.4
4 changes: 2 additions & 2 deletions bitbucket-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ image: thomasagedev/template-symfony:1.0.0
definitions:
services:
mysql:
image: mysql:8.4
image: mysql:8.4.3
environment:
MYSQL_DATABASE: test
MYSQL_PASSWORD: test
Expand Down Expand Up @@ -55,5 +55,5 @@ pipelines:
caches:
- composer
script:
- echo 'DATABASE_URL=mysql://test:test@127.0.0.1:3306/test?serverVersion=8.4&charset=utf8mb4' >> .env.test
- echo 'DATABASE_URL=mysql://root:root@127.0.0.1:3306/test?serverVersion=8.4.3&charset=utf8mb4' >> .env.test
- vendor/bin/phpunit --coverage-text
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ services:
- database

database:
image: mysql:8.4
image: mysql:8.4.3
ports:
- "3306:3306"
volumes:
Expand Down
Loading