Skip to content

Commit

Permalink
tec: Require MariaDB >= 10.5
Browse files Browse the repository at this point in the history
  • Loading branch information
marien-probesys committed Jan 14, 2025
1 parent 8eca54e commit 2ad0844
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ APP_SECRET=97cb420d0d43c4c786c51225db0b6018
APP_BASE_URL=http://localhost:8000

DATABASE_URL="postgresql://postgres:postgres@pgsql:5432/bileto?serverVersion=13&charset=utf8"
# DATABASE_URL="mysql://root:mariadb@mariadb:3306/bileto?serverVersion=10.4.29-MariaDB"
# DATABASE_URL="mysql://root:mariadb@mariadb:3306/bileto?serverVersion=10.5.27-MariaDB"

MAILER_DSN=smtp://support%40example.com:secret@mailserver:3025
MAILER_FROM=support@example.com
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:

services:
mariadb:
image: mariadb:10.4
image: mariadb:10.5
ports:
- 3306:3306
env:
Expand All @@ -90,7 +90,7 @@ jobs:
--health-timeout=5s
--health-retries=5
name: Tests over MariaDB 10.4
name: Tests over MariaDB

steps:
- uses: actions/checkout@v3
Expand All @@ -116,4 +116,4 @@ jobs:
- name: Run the test suite
run: make test
env:
DATABASE_URL: 'mysql://root:mariadb@127.0.0.1:3306/bileto_test?serverVersion=10.4.29-MariaDB'
DATABASE_URL: 'mysql://root:mariadb@127.0.0.1:3306/bileto_test?serverVersion=10.5.27-MariaDB'
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
### Breaking changes

PostgreSQL 13+ is now required as [PostgreSQL 12 is no longer supported.](https://www.postgresql.org/support/versioning/)
MariaDB 10.5+ is now required as [MariaDB 10.4 is no longer supported.](https://mariadb.org/about/#maintenance-policy)

## 2024-12-12 - 0.13.0

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ It allows you to:
![Screenshot of the tickets page of Bileto showing 3 opened tickets and a search form.](public/screenshot.webp)

It is written with [Symfony](https://symfony.com/) and works with [PHP](https://www.php.net/) 8.2 or 8.3.
The supported databases are PostgreSQL >= 13 and MariaDB >= 10.4.
The supported databases are PostgreSQL >= 13 and MariaDB >= 10.5.

It is developed by [Probesys](https://probesys.coop) as a community project.

Expand Down
2 changes: 1 addition & 1 deletion docker/development/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ services:
- pgsql

mariadb:
image: mariadb:10.4
image: mariadb:10.5
restart: unless-stopped
environment:
MARIADB_ROOT_PASSWORD: mariadb
Expand Down
2 changes: 1 addition & 1 deletion docs/administrators/deploy.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ $ psql --version
psql (PostgreSQL) 14.3
```

Or if you use MariaDB (must be >= 10.4):
Or if you use MariaDB (must be >= 10.5):

```console
$ mariadb --version
Expand Down
2 changes: 1 addition & 1 deletion env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ APP_BASE_URL=https://example.org
# Uncomment one of the two following line (depending on your database) and
# adapt the credentials and the serverVersion.
# DATABASE_URL="postgresql://user:password@localhost:5432/bileto_production?serverVersion=13&charset=utf8"
# DATABASE_URL="mysql://user:password@localhost:3306/bileto_production?serverVersion=10.4.29-MariaDB"
# DATABASE_URL="mysql://user:password@localhost:3306/bileto_production?serverVersion=10.5.27-MariaDB"

########################################
# Configuration of the SMTP mailserver #
Expand Down

0 comments on commit 2ad0844

Please sign in to comment.