-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Handle PDO driver extensions #253
base: 1.41.x
Are you sure you want to change the base?
Conversation
Projects `composer.json` can require specific PDO drivers such as `ext-pdo_mysql`. These are passed to the CI container as `pdo_mysql` and are then passed as `php<version>-pdo_mysql` package to `apt install`. These packages do not exist and thus there will be an error if the appropriate extension(s) was/were not already installed/enabled. This patch handles the most common drivers `mysql`, `pgsql` and `sqlite` and ensure that these are installed/enabled along with the `pdo` extension. Signed-off-by: Maximilian Bösing <[email protected]>
…tenations Signed-off-by: Maximilian Bösing <[email protected]>
Why not just install them by default? It is not like they are too large. |
Why not install any extension by default then? 🤷🏼♂️ |
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.
LGTM 👍 - I also don't see any problem with installing these by default
for the sake of simplicity, I will change my PR to include these as default then. The main idea of the container initially was that it is small but if we agree on having it containing a bunch of defaults, that would work for me. |
@boesing Can you continue work on this one? |
Description
Projects
composer.json
can require specific PDO drivers such asext-pdo_mysql
. These are passed to the CI container aspdo_mysql
and are then passed asphp<version>-pdo_mysql
package toapt install
. These packages do not exist and thus there will be an error if the appropriate extension(s) was/were not already installed/enabled. This patch handles the most common driversmysql
,pgsql
andsqlite
and ensure that these are installed/enabled along with thepdo
extension.fixes #252