You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(supported-version): model MariaDB as a separate service from MySQL
The `mariadb:11.4` image used by Magento 2.4.9 no longer ships
`mysqladmin`, so the existing single MySQL service template
(`--health-cmd="mysqladmin ping"`) fails its health check and the
`setup-install` lane is torn down at "Initialize containers". A simple
swap to `healthcheck.sh --connect --innodb_initialized` would break the
`mysql:8.4` lanes (the script is MariaDB-only), so a single template
cannot cover both engines.
Per @damienwebdev's direction on issue #365, model MariaDB as its own
first-class service, mirroring the existing opensearch/elasticsearch
and valkey/redis patterns:
- `matrix-type.ts`: add `mariadb: string` to `PackageMatrixVersion`
- `service-config.ts`: add `mariadbConfig` with the healthcheck.sh
command; leave `mysqlConfig` with `mysqladmin ping`
- `build-services.ts`: add `getDatabaseChoice()` that prefers mariadb
over mysql; emit either `services.mariadb` or `services.mysql`
- version JSON: 22 entries that encoded MariaDB by stuffing the image
into the `mysql` field now use a top-level `mariadb` key instead
- `build-services.spec.ts`: add a database-selection describe block
- `amend-matrix-for-next.spec.ts`: fixtures gain `mariadb: ""` to
satisfy the new required field
- `.github/workflows/integration.yaml`: port lookup falls back from
`job.services.mysql.ports['3306']` to the mariadb key
- `supported-version/README.md`: include_services description mentions
MariaDB alongside MySQL
- `dist/index.js`: rebuilt
Fixes#365
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: supported-version/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ See the [action.yml](./action.yml)
17
17
| project | The project to return the supported versions for. Allowed values are `mage-os` and `magento-open-source`| false | 'magento-open-source' |
18
18
| custom_versions | The versions you want to support, as a comma-separated string, i.e. 'magento/project-community-edition:2.3.7-p3, magento/project-community-edition:2.4.2-p2' | false | '' |
19
19
| recent_time_frame | The time frame (from today) used when `kind` is `recent`. Combination of years (y), months (m), and days (d), e.g. `2y 2m 2d`. | false | '2y' |
20
-
| include_services | Whether to include a `services` key in each matrix entry with GitHub Actions service container configurations for MySQL, search engine, RabbitMQ, and cache. | false | 'true' |
20
+
| include_services | Whether to include a `services` key in each matrix entry with GitHub Actions service container configurations for the database (MySQL or MariaDB), search engine, RabbitMQ, and cache. | false | 'true' |
21
21
22
22
## Kinds
23
23
-`currently-supported` - The currently supported Magento Open Source versions by Adobe.
0 commit comments